MENU_PREFERRED_LINK

constant MENU_PREFERRED_LINK

Reserved key to identify the most specific menu link for a given path.

The value of this constant is a hash of the constant name. We use the hash so that the reserved key is over 32 characters in length and will not collide with allowed menu names:

sha1('MENU_PREFERRED_LINK') = 1cf698d64d1aa4b83907cf6ed55db3a7f8e92c91

See also

menu_link_get_preferred()

Related topics

File

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

Code

define('MENU_PREFERRED_LINK', '1cf698d64d1aa4b83907cf6ed55db3a7f8e92c91')

© 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/constant/MENU_PREFERRED_LINK/7.x

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部