function menu_get_active_title
Same name and namespace in other branches
- 6.x drupal-6.x/includes/menu.inc \menu_get_active_title()
Gets the title of the current page, as determined by the active trail.
Related topics
1 call to menu_get_active_title()
- drupal_get_title in drupal-7.x/
includes/ bootstrap.inc - Gets the title of the current page.
1 string reference to 'menu_get_active_title'
- drupal_get_title in drupal-7.x/
includes/ bootstrap.inc - Gets the title of the current page.
Archivo
- drupal-7.x/
includes/ menu.inc, line 2603 - API for the Drupal menu system.
Código
function menu_get_active_title() {
$active_trail = menu_get_active_trail();
foreach (array_reverse($active_trail) as $item) {
if (!(bool) ($item['type'] & MENU_IS_LOCAL_TASK)) {
return $item['title'];
}
}
}