You are here

function taxonomy_display_taxonomy_term_title in Taxonomy display 7

Title callback; display title for term pages.

As of now we do not do anything with this. If we come up with something that would be helpful or requested we can add it. This is simply to make all of the hook_menu_alter functions we changed point to the same module.

Parameters

$term: A term object.

Return value

The term name to be used as the page title.

1 string reference to 'taxonomy_display_taxonomy_term_title'
taxonomy_display_menu_alter in ./taxonomy_display.module
Implements of hook_menu_alter().

File

./taxonomy_display.module, line 406
Hooks for the taxonomy display module.

Code

function taxonomy_display_taxonomy_term_title($term) {
  return function_exists('i18n_taxonomy_term_name') ? i18n_taxonomy_term_name($term) : taxonomy_term_title($term);
}