1 taxonomy.module taxonomy_term_title(TaxonomyTerm $term)

Title callback: Returns the title of the taxonomy term.

Parameters

TaxonomyTerm $term: A taxonomy term entity.

Return value

An unsanitized string that is the title of the taxonomy term.:

See also

taxonomy_menu()

File

core/modules/taxonomy/taxonomy.module, line 1831
Enables the organization of content into categories.

Code

function taxonomy_term_title(TaxonomyTerm $term) {
  return $term->name;
}