public static function LogsHttpEventSubscriber::getSubscribedEvents in Logs HTTP 8
Implements EventSubscriberInterface::getSubscribedEvents().
Return value
array An array of event listener definitions.
File
- src/
EventSubscriber/ LogsHttpEventSubscriber.php, line 30
Class
- LogsHttpEventSubscriber
- Event subscribed for Logs http.
Namespace
Drupal\logs_http\EventSubscriberCode
public static function getSubscribedEvents() {
// Setting high priority for this subscription in order to execute it soon
// enough.
$events[KernelEvents::REQUEST][] = [
'onRequest',
1000,
];
return $events;
}