function taxonomy_term_title
taxonomy_term_title(Term $term)
Title callback for term pages.
Parameters
\Drupal\taxonomy\Entity\Term $term: A taxonomy term entity.
Return value
The term name to be used as the page title.
File
- core/modules/taxonomy/taxonomy.module, line 452
- Enables the organization of content into categories.
Code
function taxonomy_term_title(Term $term) { return $term->getName(); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!modules!taxonomy!taxonomy.module/function/taxonomy_term_title/8.1.x