menu_get_active_trail

  1. drupal
    1. 6
    2. 7
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

▾ 3 functions call menu_get_active_trail()

menu_get_active_breadcrumb in drupal/includes/menu.inc
Get the breadcrumb for the current page, as determined by the active trail.
menu_get_active_title in drupal/includes/menu.inc
Get the title of the current page, as determined by the active trail.
toolbar_in_active_trail in drupal/modules/toolbar/toolbar.module
Checks whether an item is in the active trail.

Code

drupal/includes/menu.inc, line 2422

<?php
function menu_get_active_trail() {
  return menu_set_active_trail();
}
?>