You are here

function menu_get_active_title in Drupal 5

Same name and namespace in other branches
  1. 4 includes/menu.inc \menu_get_active_title()
  2. 6 includes/menu.inc \menu_get_active_title()
  3. 7 includes/menu.inc \menu_get_active_title()

Returns the title of the active menu item.

Related topics

1 call to menu_get_active_title()
drupal_get_title in includes/path.inc
Get the title of the current page, for display on the page and in the title bar.
1 string reference to 'menu_get_active_title'
drupal_get_title in includes/path.inc
Get the title of the current page, for display on the page and in the title bar.

File

includes/menu.inc, line 490
API for the Drupal menu system.

Code

function menu_get_active_title() {
  if ($mid = menu_get_active_nontask_item()) {
    $item = menu_get_item($mid);
    return $item['title'];
  }
}