MenuLinkInterface::updateLink |
function |
core/lib/Drupal/Core/Menu/MenuLinkInterface.php |
Updates the definition values for a menu link. |
MenuLinkManager |
class |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
Manages discovery, instantiation, and tree building of menu link plugins. |
MenuLinkManager.php |
file |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
|
MenuLinkManager::$defaults |
property |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
Provides some default values for the definition of all menu link plugins. |
MenuLinkManager::$discovery |
property |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
The object that discovers plugins managed by this manager. |
MenuLinkManager::$factory |
property |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
The object that instantiates plugins managed by this manager. |
MenuLinkManager::$moduleHandler |
property |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
The module handler. |
MenuLinkManager::$overrides |
property |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
Service providing overrides for static links. |
MenuLinkManager::$treeStorage |
property |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
The menu link tree storage. |
MenuLinkManager::addDefinition |
function |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
Adds a new menu link definition to the menu tree storage. |
MenuLinkManager::countMenuLinks |
function |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
Counts the total number of menu links. |
MenuLinkManager::createInstance |
function |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
Returns a pre-configured menu link plugin instance. |
MenuLinkManager::deleteInstance |
function |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
Deletes a specific instance. |
MenuLinkManager::deleteLinksInMenu |
function |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
Deletes all links having a certain menu name. |
MenuLinkManager::getChildIds |
function |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
Loads all child link IDs of a given menu link, regardless of visibility. |
MenuLinkManager::getDefinition |
function |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
|
MenuLinkManager::getDefinitions |
function |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
|
MenuLinkManager::getDiscovery |
function |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
Gets the plugin discovery. |
MenuLinkManager::getFactory |
function |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
Gets the plugin factory. |
MenuLinkManager::getInstance |
function |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
|
MenuLinkManager::getParentIds |
function |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
Loads all parent link IDs of a given menu link. |
MenuLinkManager::hasDefinition |
function |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
|
MenuLinkManager::loadLinksByRoute |
function |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
Loads multiple plugin instances based on route. |
MenuLinkManager::menuNameInUse |
function |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
Determines if any links use a given menu name. |
MenuLinkManager::processDefinition |
function |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
Performs extra processing on plugin definitions. |
MenuLinkManager::rebuild |
function |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
Triggers discovery, save, and cleanup of discovered links. |
MenuLinkManager::removeDefinition |
function |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
Removes a single link definition from the menu tree storage. |
MenuLinkManager::resetDefinitions |
function |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
Resets any local definition cache. Used for testing. |
MenuLinkManager::resetInstance |
function |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
Resets the menu link to its default settings. |
MenuLinkManager::resetLink |
function |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
Resets the values for a menu link based on the values found by discovery. |
MenuLinkManager::updateDefinition |
function |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
Updates the values for a menu link definition in the menu tree storage. |
MenuLinkManager::__construct |
function |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
Constructs a \Drupal\Core\Menu\MenuLinkManager object. |
MenuLinkManagerInterface |
interface |
core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php |
Defines an interface for managing menu links and storing their definitions. |
MenuLinkManagerInterface.php |
file |
core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php |
|
MenuLinkManagerInterface::addDefinition |
function |
core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php |
Adds a new menu link definition to the menu tree storage. |
MenuLinkManagerInterface::countMenuLinks |
function |
core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php |
Counts the total number of menu links. |
MenuLinkManagerInterface::deleteLinksInMenu |
function |
core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php |
Deletes all links having a certain menu name. |
MenuLinkManagerInterface::getChildIds |
function |
core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php |
Loads all child link IDs of a given menu link, regardless of visibility. |
MenuLinkManagerInterface::getParentIds |
function |
core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php |
Loads all parent link IDs of a given menu link. |
MenuLinkManagerInterface::loadLinksByRoute |
function |
core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php |
Loads multiple plugin instances based on route. |
MenuLinkManagerInterface::menuNameInUse |
function |
core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php |
Determines if any links use a given menu name. |
MenuLinkManagerInterface::rebuild |
function |
core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php |
Triggers discovery, save, and cleanup of discovered links. |
MenuLinkManagerInterface::removeDefinition |
function |
core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php |
Removes a single link definition from the menu tree storage. |
MenuLinkManagerInterface::resetDefinitions |
function |
core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php |
Resets any local definition cache. Used for testing. |
MenuLinkManagerInterface::resetLink |
function |
core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php |
Resets the values for a menu link based on the values found by discovery. |
MenuLinkManagerInterface::updateDefinition |
function |
core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php |
Updates the values for a menu link definition in the menu tree storage. |
MenuLinkMock |
class |
core/tests/Drupal/Tests/Core/Menu/MenuLinkMock.php |
Defines a mock implementation of a menu link used in tests only. |
MenuLinkMock.php |
file |
core/tests/Drupal/Tests/Core/Menu/MenuLinkMock.php |
|
MenuLinkMock::$defaults |
property |
core/tests/Drupal/Tests/Core/Menu/MenuLinkMock.php |
|
MenuLinkMock::create |
function |
core/tests/Drupal/Tests/Core/Menu/MenuLinkMock.php |
Create an instance from a definition with at least id, title, route_name. |