public function MenuTokenSubscriber::__construct in Menu Token 8
Same name and namespace in other branches
- 9.1.x 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\EventSubscriberCode
public function __construct(MenuTokenContextManager $menuTokenContextManager) {
$this->menuTokenContextManager = $menuTokenContextManager;
}