function taxonomy_term_title

Title callback for term pages.

Parameters

Drupal\taxonomy\Plugin\Core\Entity\Term $term: A taxonomy term entity.

Return value

The term name to be used as the page title.

1 string reference to 'taxonomy_term_title'
taxonomy_menu in drupal/core/modules/taxonomy/taxonomy.module
Implements hook_menu().

File

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

Code

function taxonomy_term_title(Term $term) {
  return $term
    ->label();
}