You are here

public static function InitSubscriber::getSubscribedEvents in Background Process 8

Implements to Subscribe Events.

File

src/EventSubscriber/InitSubscriber.php, line 16

Class

InitSubscriber
Default controller for the background_process module.

Namespace

Drupal\background_process\EventSubscriber

Code

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