menu_tree_get_path

function menu_tree_get_path

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

File

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

Code

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!menu.inc/function/menu_tree_get_path/7.x

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部