You are here

function taxonomy_term_title in Drupal 7

Same name and namespace in other branches
  1. 8 core/modules/taxonomy/taxonomy.module \taxonomy_term_title()
  2. 9 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
Enables the organization of content into categories.

Code

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