You are here

public static function MenuTokenSubscriber::getSubscribedEvents in Menu Token 9.1.x

Same name and namespace in other branches
  1. 8 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;
}