Access callback for creating a new taxonomy term.
\Drupal\taxonomy\Plugin\Core\Entity\Vocabulary $vocabulary: The vocabulary entity that represents the term bundle.
bool TRUE if access is allowed, FALSE if not.
function taxonomy_term_create_access(Vocabulary $vocabulary) {
return entity_page_create_access('taxonomy_term', $vocabulary
->id());
}