8 calls to MenuLinkManager::createInstance() in Drupal 9
- MenuLinkManager::addDefinition in core/
lib/ Drupal/ Core/ Menu/ MenuLinkManager.php - Adds a new menu link definition to the menu tree storage.
- MenuLinkManager::deleteLinksInMenu in core/
lib/ Drupal/ Core/ Menu/ MenuLinkManager.php - Deletes all links having a certain menu name.
- MenuLinkManager::getInstance in core/
lib/ Drupal/ Core/ Menu/ MenuLinkManager.php - Gets a preconfigured instance of a plugin.
- MenuLinkManager::loadLinksByRoute in core/
lib/ Drupal/ Core/ Menu/ MenuLinkManager.php - Loads multiple plugin instances based on route.
- MenuLinkManager::removeDefinition in core/
lib/ Drupal/ Core/ Menu/ MenuLinkManager.php - Removes a single link definition from the menu tree storage.
- MenuLinkManager::resetInstance in core/
lib/ Drupal/ Core/ Menu/ MenuLinkManager.php - Resets the menu link to its default settings.
- MenuLinkManager::resetLink in core/
lib/ Drupal/ Core/ Menu/ MenuLinkManager.php - Resets the values for a menu link based on the values found by discovery.
- MenuLinkManager::updateDefinition in core/
lib/ Drupal/ Core/ Menu/ MenuLinkManager.php - Updates the values for a menu link definition in the menu tree storage.