You are here

public static function InitSubscriber::getSubscribedEvents in Acquia Connector 8

Same name and namespace in other branches
  1. 8.2 src/EventSubscriber/InitSubscriber.php \Drupal\acquia_connector\EventSubscriber\InitSubscriber::getSubscribedEvents()
  2. 3.x src/EventSubscriber/InitSubscriber.php \Drupal\acquia_connector\EventSubscriber\InitSubscriber::getSubscribedEvents()

File

src/EventSubscriber/InitSubscriber.php, line 136

Class

InitSubscriber
Class InitSubscriber.

Namespace

Drupal\acquia_connector\EventSubscriber

Code

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