Search for _link
- Search 7.x for _link
- Search 9.5.x for _link
- Search 10.3.x for _link
- Search 11.x for _link
- Search main for _link
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| MenuLinkInterface.php | file | core/ |
|
| MenuLinkInterface::deleteLink | function | core/ |
Deletes a menu link. |
| MenuLinkInterface::getDeleteRoute | function | core/ |
Returns route information for a route to delete the menu link. |
| MenuLinkInterface::getDescription | function | core/ |
Returns the description of the menu link. |
| 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::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::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. |
| MenuLinkManager | class | core/ |
Manages discovery, instantiation, and tree building of menu link plugins. |
| MenuLinkManager.php | file | core/ |
|
| MenuLinkManager::$defaults | property | core/ |
Provides some default values for the definition of all menu link plugins. |
| MenuLinkManager::$discovery | property | core/ |
The object that discovers plugins managed by this manager. |
| MenuLinkManager::$factory | property | core/ |
The object that instantiates plugins managed by this manager. |
| MenuLinkManager::$moduleHandler | property | core/ |
The module handler. |
| MenuLinkManager::$overrides | property | core/ |
Service providing overrides for static links. |
| MenuLinkManager::$treeStorage | property | core/ |
The menu link tree storage. |
| MenuLinkManager::addDefinition | function | core/ |
Adds a new menu link definition to the menu tree storage. |
| MenuLinkManager::countMenuLinks | function | core/ |
Counts the total number of menu links. |
| MenuLinkManager::createInstance | function | core/ |
Returns a pre-configured menu link plugin instance. |
| MenuLinkManager::deleteInstance | function | core/ |
Deletes a specific instance. |
| MenuLinkManager::deleteLinksInMenu | function | core/ |
Deletes all links having a certain menu name. |
| MenuLinkManager::getChildIds | function | core/ |
Loads all child link IDs of a given menu link, regardless of visibility. |
| MenuLinkManager::getDefinition | function | core/ |
Gets a specific plugin definition. |
| MenuLinkManager::getDefinitions | function | core/ |
Gets the definition of all plugins for this type. |
| MenuLinkManager::getDiscovery | function | core/ |
Gets the plugin discovery. |
| MenuLinkManager::getFactory | function | core/ |
Gets the plugin factory. |
| MenuLinkManager::getInstance | function | core/ |
Gets a preconfigured instance of a plugin. |
| MenuLinkManager::getParentIds | function | core/ |
Loads all parent link IDs of a given menu link. |
| MenuLinkManager::hasDefinition | function | core/ |
Indicates if a specific plugin definition exists. |
| MenuLinkManager::loadLinksByRoute | function | core/ |
Loads multiple plugin instances based on route. |
| MenuLinkManager::menuNameInUse | function | core/ |
Determines if any links use a given menu name. |
| MenuLinkManager::processDefinition | function | core/ |
Performs extra processing on plugin definitions. |
| MenuLinkManager::rebuild | function | core/ |
Triggers discovery, save, and cleanup of discovered links. |
| MenuLinkManager::removeDefinition | function | core/ |
Removes a single link definition from the menu tree storage. |
| MenuLinkManager::resetDefinitions | function | core/ |
Resets any local definition cache. Used for testing. |
Pagination
- Previous page
- Page 25
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.