You are here

public static function Subscriber::getSubscribedEvents in Excel Serialization 8

File

src/EventSubscriber/Subscriber.php, line 17

Class

Subscriber
Event subscriber for adding XLS content to the request.

Namespace

Drupal\xls_serialization\EventSubscriber

Code

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