Search for interface
- Search 7.x for interface
- Search 9.5.x for interface
- Search 8.9.x for interface
- Search 11.x for interface
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
MenuLinkInterface::getEditRoute | function | core/ |
Returns route information for a custom edit form for the menu link. |
MenuLinkInterface::getFormClass | function | core/ |
Returns the name of a class that can build an editing form for this link. |
MenuLinkInterface::getMenuName | function | core/ |
Returns the menu name of the menu link. |
MenuLinkInterface::getMetaData | function | core/ |
Returns any metadata for this link. |
MenuLinkInterface::getOperations | function | core/ |
Provides an array of information to build a list of operation links. |
MenuLinkInterface::getOptions | function | core/ |
Returns the options for this link. |
MenuLinkInterface::getParent | function | core/ |
Returns the plugin ID of the menu link's parent, or an empty string. |
MenuLinkInterface::getProvider | function | core/ |
Returns the provider (module name) of the menu link. |
MenuLinkInterface::getResetRoute | function | core/ |
Returns route information for a route to reset the menu link. |
MenuLinkInterface::getRouteName | function | core/ |
Returns the route name, if available. |
MenuLinkInterface::getRouteParameters | function | core/ |
Returns the route parameters, if available. |
MenuLinkInterface::getTitle | function | core/ |
Returns the localized title to be shown for this link. |
MenuLinkInterface::getTranslateRoute | function | core/ |
Returns route information for a route to translate the menu link. |
MenuLinkInterface::getUrlObject | function | core/ |
Returns a URL object containing either the external path or route. |
MenuLinkInterface::getWeight | function | core/ |
Returns the weight of the menu link. |
MenuLinkInterface::isDeletable | function | core/ |
Returns whether this link can be deleted. |
MenuLinkInterface::isEnabled | function | core/ |
Returns whether the menu link is enabled (not hidden). |
MenuLinkInterface::isExpanded | function | core/ |
Returns whether the child menu links should always been shown. |
MenuLinkInterface::isResettable | function | core/ |
Returns whether this link can be reset. |
MenuLinkInterface::isTranslatable | function | core/ |
Returns whether this link can be translated. |
MenuLinkInterface::updateLink | function | core/ |
Updates the definition values for a menu link. |
MenuLinkManagerInterface | interface | core/ |
Defines an interface for managing menu links and storing their definitions. |
MenuLinkManagerInterface.php | file | core/ |
|
MenuLinkManagerInterface::addDefinition | function | core/ |
Adds a new menu link definition to the menu tree storage. |
MenuLinkManagerInterface::countMenuLinks | function | core/ |
Counts the total number of menu links. |
MenuLinkManagerInterface::deleteLinksInMenu | function | core/ |
Deletes all links having a certain menu name. |
MenuLinkManagerInterface::getChildIds | function | core/ |
Loads all child link IDs of a given menu link, regardless of visibility. |
MenuLinkManagerInterface::getParentIds | function | core/ |
Loads all parent link IDs of a given menu link. |
MenuLinkManagerInterface::loadLinksByRoute | function | core/ |
Loads multiple plugin instances based on route. |
MenuLinkManagerInterface::menuNameInUse | function | core/ |
Determines if any links use a given menu name. |
MenuLinkManagerInterface::rebuild | function | core/ |
Triggers discovery, save, and cleanup of discovered links. |
MenuLinkManagerInterface::removeDefinition | function | core/ |
Removes a single link definition from the menu tree storage. |
MenuLinkManagerInterface::resetDefinitions | function | core/ |
Resets any local definition cache. Used for testing. |
MenuLinkManagerInterface::resetLink | function | core/ |
Resets the values for a menu link based on the values found by discovery. |
MenuLinkManagerInterface::updateDefinition | function | core/ |
Updates the values for a menu link definition in the menu tree storage. |
MenuLinkTreeInterface | interface | core/ |
Defines an interface for loading, transforming and rendering menu link trees. |
MenuLinkTreeInterface.php | file | core/ |
|
MenuLinkTreeInterface::build | function | core/ |
Builds a renderable array from a menu tree. |
MenuLinkTreeInterface::getCurrentRouteMenuTreeParameters | function | core/ |
Gets the link tree parameters for rendering a specific menu. |
MenuLinkTreeInterface::getExpanded | function | core/ |
Finds expanded links in a menu given a set of possible parents. |
MenuLinkTreeInterface::getSubtreeHeight | function | core/ |
Finds the height of a subtree rooted by of the given ID. |
MenuLinkTreeInterface::load | function | core/ |
Loads a menu tree with a menu link plugin instance at each element. |
MenuLinkTreeInterface::maxDepth | function | core/ |
Returns the maximum depth of tree that is supported. |
MenuLinkTreeInterface::transform | function | core/ |
Applies menu link tree manipulators to transform the given tree. |
MenuParentFormSelectorInterface | interface | core/ |
Defines an interface for menu selector form elements and menu link options. |
MenuParentFormSelectorInterface.php | file | core/ |
|
MenuParentFormSelectorInterface::getParentSelectOptions | function | core/ |
Gets the options for a select element to choose a menu and parent. |
MenuParentFormSelectorInterface::parentSelectElement | function | core/ |
Gets a form element to choose a menu and parent. |
MenuTreeStorageInterface | interface | core/ |
Defines an interface for storing a menu tree containing menu link IDs. |
MenuTreeStorageInterface.php | file | core/ |
Pagination
- Previous page
- Page 59
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.