menu_get_active_title

  1. drupal
    1. 5
    2. 6
    3. 7
    4. 8
Versions
5 – 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 490

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