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

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

Constants

Namesort ascending Location Description
MENU_SUGGESTED_ITEM drupal/core/includes/menu.inc Menu type -- A normal menu item, hidden until enabled by an administrator.
MENU_NORMAL_ITEM drupal/core/includes/menu.inc Menu type -- A "normal" menu item that's shown in menu and breadcrumbs.
MENU_LOCAL_TASK drupal/core/includes/menu.inc Menu type -- A task specific to the parent item, usually rendered as a tab.
MENU_LOCAL_ACTION drupal/core/includes/menu.inc Menu type -- An action specific to the parent, usually rendered as a link.
MENU_DEFAULT_LOCAL_TASK drupal/core/includes/menu.inc Menu type -- The "default" local task, which is initially active.
MENU_CALLBACK drupal/core/includes/menu.inc Menu type -- A hidden, internal callback, typically used for API calls.