You are here

public static function MenuTokenSubscriber::getSubscribedEvents in Menu Token 8

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

File

src/EventSubscriber/MenuTokenSubscriber.php, line 48

Class

MenuTokenSubscriber
Event Subscriber MenuTokenSubscriber.

Namespace

Drupal\menu_token\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events[KernelEvents::CONTROLLER][] = [
    'onController',
  ];
  return $events;
}