function taxonomy_term_title

Same name in other branches
  1. 9 core/modules/taxonomy/taxonomy.module \taxonomy_term_title()
  2. 8.9.x core/modules/taxonomy/taxonomy.module \taxonomy_term_title()

Title callback: Returns the title of the taxonomy term.

Parameters

$term: A term object.

Return value

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

See also

taxonomy_menu()

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

File

modules/taxonomy/taxonomy.module, line 1729

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.