menu_tree_get_path

  1. drupal
    1. 8
    2. 7
Versions
7 – 8 menu_tree_get_path($menu_name)

Get 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 function calls menu_tree_get_path()

menu_tree_page_data in includes/menu.inc
Get the data structure representing a named menu tree, based on the current page.

Code

includes/menu.inc, line 1171

<?php
function menu_tree_get_path($menu_name) {
  return menu_tree_set_path($menu_name);
}
?>