public static function InitSubscriber::getSubscribedEvents in Acquia Connector 3.x
Same name and namespace in other branches
- 8.2 src/EventSubscriber/InitSubscriber.php \Drupal\acquia_connector\EventSubscriber\InitSubscriber::getSubscribedEvents()
- 8 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\EventSubscriberCode
public static function getSubscribedEvents() {
$events[KernelEvents::REQUEST][] = [
'onKernelRequest',
];
$events[KernelEvents::CONTROLLER][] = [
'onKernelController',
];
return $events;
}