-
Notifications
You must be signed in to change notification settings - Fork 1
menu path api
sinsunsan edited this page Sep 10, 2012
·
10 revisions
-
menu_get_item()
Get the current menu item the page we are on, and retrieve information about the router, callback
http://api.drupal.org/api/drupal/includes%21menu.inc/function/menu_get_item/6 -
menu_get_object()
Return the object we are on, a node if a node page or a user if a user page
http://api.drupal.org/api/drupal/includes!menu.inc/function/menu_get_object/6
Use example : http://drupalcode.org/project/page_title.git/blob/1d3944636a0c6afd4065e8f552eddb0f9d8ffbed:/modules/node.page_title.inc -
menu_tree()
Return a menu tree replace % by their value for exemple user/% by user%45 http://api.drupal.org/api/drupal/includes!menu.inc/function/menu_tree/7