public static function SecKitEventSubscriber::getSubscribedEvents in Security Kit 8
Same name and namespace in other branches
- 2.x src/EventSubscriber/SecKitEventSubscriber.php \Drupal\seckit\EventSubscriber\SecKitEventSubscriber::getSubscribedEvents()
File
- src/
EventSubscriber/ SecKitEventSubscriber.php, line 375
Class
- SecKitEventSubscriber
- Subscribing an event.
Namespace
Drupal\seckit\EventSubscriberCode
public static function getSubscribedEvents() {
$events[KernelEvents::REQUEST][] = [
'onKernelRequest',
100,
];
$events[KernelEvents::RESPONSE][] = [
'onKernelResponse',
];
return $events;
}