Search for _link
- Search 7.x for _link
- Search 9.5.x for _link
- Search 8.9.x for _link
- Search 11.x for _link
- Search main for _link
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| MenuLinkManager | class | core/ |
Manages discovery, instantiation, and tree building of menu link plugins. |
| MenuLinkManager.php | file | core/ |
|
| 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 or creates a plugin instance that satisfies the given options. |
| 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. |
| MenuLinkManager::resetInstance | function | core/ |
Resets the menu link to its default settings. |
| MenuLinkManager::resetLink | function | core/ |
Resets the values for a menu link based on the values found by discovery. |
| MenuLinkManager::updateDefinition | function | core/ |
Updates the values for a menu link definition in the menu tree storage. |
| MenuLinkManager::__construct | function | core/ |
Constructs a \Drupal\Core\Menu\MenuLinkManager object. |
| 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. |
| MenuLinkMock | class | core/ |
Defines a mock implementation of a menu link used in tests only. |
| MenuLinkMock.php | file | core/ |
|
| MenuLinkMock::$defaults | property | core/ |
|
| MenuLinkMock::create | function | core/ |
Create an instance from a definition with at least id, title, route_name. |
| MenuLinkMock::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
| MenuLinkMock::getCacheMaxAge | function | core/ |
The maximum age for which this object may be cached. |
Pagination
- Previous page
- Page 26
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.