menu_get_active_trail

  1. drupal
    1. 8
    2. 6
    3. 7
Versions
6 – 8 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 1594

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