@file Class for storing information about menu item entries.

Menu item entries may be shared between multiple layouts. Several different layouts may exist at the same path with different selection criteria, i.e. a menu local task (tab) at node/%/example.


Expanded class hierarchy of LayoutMenuItem


core/modules/layout/includes/layout_menu_item.class.inc, line 10
Class for storing information about menu item entries.


Contains filters are case sensitive
Name Modifiers Type Descriptionsort ascending
LayoutMenuItem::save function Save a menu item configuration.
LayoutMenuItem::revert function Revert a menu item back to its module-provided default.
LayoutMenuItem::resetContexts function Reset the internally stored contexts.
LayoutMenuItem::reassign function Rename this menu item to match the most appropriate layout at the same path.
LayoutMenuItem::getContexts function Get all contexts required or configured for this menu path.
LayoutMenuItem::delete function Delete a menu item configuration.
LayoutMenuItem::__construct function Constructor for LayoutMenuItems.
LayoutMenuItem::hasContexts function Check if the menu item has a context of a particular name.
LayoutMenuItem::checkAccess function Check access to this menu item based on the current contexts.
LayoutMenuItem::$contexts private property An array of LayoutContext instances used by this menu item.