public function LogsHttpEventSubscriber::onRequest in Logs HTTP 8
Initializes Logs http module requirements.
Parameters
\Symfony\Component\HttpKernel\Event\GetResponseEvent $event: The event to process.
File
- src/
EventSubscriber/ LogsHttpEventSubscriber.php, line 20
Class
- LogsHttpEventSubscriber
- Event subscribed for Logs http.
Namespace
Drupal\logs_http\EventSubscriberCode
public function onRequest(GetResponseEvent $event) {
drupal_register_shutdown_function('logs_http_shutdown');
}