menu_get_active_item

  1. drupal
    1. 4.7
    2. 5
Versions
4.7 – 5 menu_get_active_item()

Returns the ID of the active menu item.

Related topics

▾ 4 functions call menu_get_active_item()

menu_execute_active_handler in includes/menu.inc
Execute the handler associated with the active menu item.
menu_get_active_help in includes/menu.inc
Returns the help associated with the active menu item.
menu_get_active_nontask_item in includes/menu.inc
Returns the ID of the current menu item or, if the current item is a local task, the menu item to which this task is attached.
_menu_get_active_trail in includes/menu.inc
Returns an array with the menu items that lead to the current menu item.

Code

includes/menu.inc, line 424

<?php
function menu_get_active_item() {
  return menu_set_active_item();
}
?>