function menu_tree_get_path

7.x menu.inc menu_tree_get_path($menu_name)

Gets the path for determining the active trail of the specified menu tree.

Parameters

$menu_name: The menu name of the requested tree.

Return value

A string containing the path. If no path has been specified with menu_tree_set_path(), NULL is returned.

Related topics

1 call to menu_tree_get_path()
menu_tree_page_data in drupal-7.x/includes/menu.inc
Gets the data structure for a named menu tree, based on the current page.

File

drupal-7.x/includes/menu.inc, line 1188
API for the Drupal menu system.

Code

function menu_tree_get_path($menu_name) {
  return menu_tree_set_path($menu_name);
}