Menu item types

  1. drupal
    1. 8
    2. 6
    3. 7

Definitions for various menu item types.

Menu item definitions provide one of these constants, which are shortcuts for combinations of Menu flags.

Constants

NameDescription
MENU_CALLBACKMenu type -- A hidden, internal callback, typically used for API calls.
MENU_DEFAULT_LOCAL_TASKMenu type -- The "default" local task, which is initially active.
MENU_LOCAL_ACTIONMenu type -- An action specific to the parent, usually rendered as a link.
MENU_LOCAL_TASKMenu type -- A task specific to the parent item, usually rendered as a tab.
MENU_NORMAL_ITEMMenu type -- A "normal" menu item that's shown in menu and breadcrumbs.
MENU_SUGGESTED_ITEMMenu type -- A normal menu item, hidden until enabled by an administrator.

includes/menu.inc, line 127