Menu item types
Definitions for various menu item types.
Menu item definitions provide one of these constants, which are shortcuts for combinations of Menu flags.
Parent topics
File
-
includes/
menu.inc, line 127
Constants
Title Sort descending | File name | Summary |
---|---|---|
MENU_CALLBACK | includes/ |
Menu type -- A hidden, internal callback, typically used for API calls. |
MENU_DEFAULT_LOCAL_TASK | includes/ |
Menu type -- The "default" local task, which is initially active. |
MENU_LOCAL_ACTION | includes/ |
Menu type -- An action specific to the parent, usually rendered as a link. |
MENU_LOCAL_TASK | includes/ |
Menu type -- A task specific to the parent item, usually rendered as a tab. |
MENU_NORMAL_ITEM | includes/ |
Menu type -- A "normal" menu item that's shown in menu and breadcrumbs. |
MENU_SUGGESTED_ITEM | includes/ |
Menu type -- A normal menu item, hidden until enabled by an administrator. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.