Community Documentation

menu_get_active_trail

6 menu.inc menu_get_active_trail()
7 menu.inc menu_get_active_trail()
8 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 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.

File

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

Code

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