You are here

public function MenuTokenSubscriber::__construct in Menu Token 9.1.x

Same name and namespace in other branches
  1. 8 src/EventSubscriber/MenuTokenSubscriber.php \Drupal\menu_token\EventSubscriber\MenuTokenSubscriber::__construct()

MenuTokenSubscriber constructor.

Parameters

\Drupal\menu_token\Service\MenuTokenContextManager $menuTokenContextManager: Menu token context manager.

File

src/EventSubscriber/MenuTokenSubscriber.php, line 27

Class

MenuTokenSubscriber
Event Subscriber MenuTokenSubscriber.

Namespace

Drupal\menu_token\EventSubscriber

Code

public function __construct(MenuTokenContextManager $menuTokenContextManager) {
  $this->menuTokenContextManager = $menuTokenContextManager;
}