Menu item types

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
API for the Drupal menu system.

Constants

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!menu.inc/group/menu_item_types/7.x

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部