Rebuilds the default menu links and runs menu-specific code if necessary.
Hierarchy
- class \Drupal\Core\EventSubscriber\MenuRouterRebuildSubscriber implements EventSubscriberInterface
File
- core/lib/Drupal/Core/EventSubscriber/MenuRouterRebuildSubscriber.php, line 15
Namespace
Drupal\Core\EventSubscriber
Members
Name | Modifiers | Type | Description |
---|---|---|---|
MenuRouterRebuildSubscriber::$lock | protected | property | |
MenuRouterRebuildSubscriber::$menuLinkManager | protected | property | The menu link plugin manager. |
MenuRouterRebuildSubscriber::getSubscribedEvents | static | function | Returns an array of event names this subscriber wants to listen to. Overrides EventSubscriberInterface::getSubscribedEvents |
MenuRouterRebuildSubscriber::menuLinksRebuild | protected | function | Perform menu-specific rebuilding. |
MenuRouterRebuildSubscriber::onRouterRebuild | public | function | Rebuilds the menu links and deletes the local_task cache tag. |
MenuRouterRebuildSubscriber::__construct | public | function | Constructs the MenuRouterRebuildSubscriber object. |
Please login to continue.