MenuRouterRebuildSubscriber::__construct

public MenuRouterRebuildSubscriber::__construct(LockBackendInterface $lock, MenuLinkManagerInterface $menu_link_manager)

Constructs the MenuRouterRebuildSubscriber object.

Parameters

\Drupal\Core\Lock\LockBackendInterface $lock: The lock backend.

\Drupal\Core\Menu\MenuLinkManagerInterface $menu_link_manager: The menu link plugin manager.

File

core/lib/Drupal/Core/EventSubscriber/MenuRouterRebuildSubscriber.php, line 37

Class

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

Namespace

Drupal\Core\EventSubscriber

Code

public function __construct(LockBackendInterface $lock, MenuLinkManagerInterface $menu_link_manager) {
  $this->lock = $lock;
  $this->menuLinkManager = $menu_link_manager;
}
doc_Drupal
2016-10-29 09:27:29
Comments
Leave a Comment

Please login to continue.