Same name and namespace in other branches
- 4.6.x includes/menu.inc \menu_get_active_item()
- 4.7.x includes/menu.inc \menu_get_active_item()
Returns the ID of the active menu item.
Related topics
2 calls to menu_get_active_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.
File
- includes/
menu.inc, line 423 - API for the Drupal menu system.
Code
function menu_get_active_item() {
return menu_set_active_item();
}