You are here

public function MenuBuilder::__construct in Context 8

Same name and namespace in other branches
  1. 8.4 modules/context_ui/src/MenuBuilder.php \Drupal\context_ui\MenuBuilder::__construct()

MenuBuilder constructor.

Parameters

\Drupal\Core\Menu\MenuLinkManagerInterface $menuLinkManager:

File

modules/context_ui/src/MenuBuilder.php, line 28

Class

MenuBuilder
Implements the MenuBuilder class, which configures and updates the submenu context items

Namespace

Drupal\context_ui

Code

public function __construct(MenuLinkManagerInterface $menuLinkManager) {
  $this->menuLinkManager = $menuLinkManager;
}