menu_get_active_title

  1. drupal
    1. 4.7
    2. 5
    3. 6 menu.inc
    4. 7 menu.inc
Versions
4.7 – 7 menu_get_active_title()

Returns the title of the active menu item.

Related topics

▾ 1 function calls 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.

Code

includes/menu.inc, line 491

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