function DevelLazyBuilders::__construct

Constructs a new ShortcutLazyBuilders object.

Parameters

\Drupal\Core\Menu\MenuLinkTreeInterface $menu_link_tree: The menu link tree service.

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.

File

src/DevelLazyBuilders.php, line 35

Class

DevelLazyBuilders
Lazy builders for the devel module.

Namespace

Drupal\devel

Code

public function __construct(MenuLinkTreeInterface $menu_link_tree, ConfigFactoryInterface $config_factory) {
    $this->menuLinkTree = $menu_link_tree;
    $this->config = $config_factory->get('devel.toolbar.settings');
}