menu_get_active_menu_names

Versions
7
menu_get_active_menu_names()

Get the active menu for the current page - determines the active trail.

Related topics

▾ 2 functions call menu_get_active_menu_names()

book_page_alter in modules/book/book.module
Implement hook_page_alter().
menu_set_active_trail in includes/menu.inc
Sets or gets the active trail (path to root menu root) of the current page.

Code

includes/menu.inc, line 1979

<?php
function menu_get_active_menu_names() {
  return menu_set_active_menu_names();
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.