You are here

public static function RequestSubscriber::getSubscribedEvents in Lightning API 8

Same name and namespace in other branches
  1. 8.4 src/RequestSubscriber.php \Drupal\lightning_api\RequestSubscriber::getSubscribedEvents()
  2. 8.2 src/RequestSubscriber.php \Drupal\lightning_api\RequestSubscriber::getSubscribedEvents()
  3. 8.3 src/RequestSubscriber.php \Drupal\lightning_api\RequestSubscriber::getSubscribedEvents()

File

src/RequestSubscriber.php, line 47

Class

RequestSubscriber

Namespace

Drupal\lightning_api

Code

public static function getSubscribedEvents() {
  return [
    KernelEvents::REQUEST => 'onRequest',
  ];
}