You are here

public static function MaintenanceModeSubscriber::getSubscribedEvents in uLogin (advanced version) 8

File

src/EventSubscriber/MaintenanceModeSubscriber.php, line 39
Contains \Drupal\ulogin\EventSubscriber\MaintenanceModeSubscriber.

Class

MaintenanceModeSubscriber
Maintenance Mode Subscriber.

Namespace

Drupal\ulogin\EventSubscriber

Code

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