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; }
Please login to continue.