menu_get_active_trail

Versions
6 – 7
menu_get_active_trail()

Gets the active trail (path to root menu root) of the current page.

See menu_set_active_trail() for details of return value.

Related topics

▾ 2 functions call menu_get_active_trail()

menu_get_active_breadcrumb in includes/menu.inc
Get the breadcrumb for the current page, as determined by the active trail.
menu_get_active_title in includes/menu.inc
Get the title of the current page, as determined by the active trail.

Code

includes/menu.inc, line 1590

<?php
function menu_get_active_trail() {
  return menu_set_active_trail();
}
?>
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.