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

1 use of MENU_PREFERRED_LINK
menu_link_get_preferred in drupal/includes/menu.inc
Looks up the preferred menu link for a given system path.

File

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

Code

define('MENU_PREFERRED_LINK', '1cf698d64d1aa4b83907cf6ed55db3a7f8e92c91');