MenuRouterRebuildSubscriber

Rebuilds the default menu links and runs menu-specific code if necessary.

Hierarchy

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.
doc_Drupal
2016-10-29 09:27:28
Comments
Leave a Comment

Please login to continue.