You are here

public static function FrontPageSubscriber::getSubscribedEvents in Front Page 8

Same name and namespace in other branches
  1. 9.1.x src/EventSubscriber/FrontPageSubscriber.php \Drupal\front_page\EventSubscriber\FrontPageSubscriber::getSubscribedEvents()

File

src/EventSubscriber/FrontPageSubscriber.php, line 82

Class

FrontPageSubscriber
Class FrontPageSubscriber.

Namespace

Drupal\front_page\EventSubscriber

Code

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