Same name and namespace in other branches
  1. 7.x includes/menu.inc \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 calls to 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.

File

includes/menu.inc, line 1595
API for the Drupal menu system.

Code

function menu_get_active_trail() {
  return menu_set_active_trail();
}