public static function MaintenanceModeSubscriber::getSubscribedEvents in Drupal 8
Same name in this branch
- 8 core/lib/Drupal/Core/EventSubscriber/MaintenanceModeSubscriber.php \Drupal\Core\EventSubscriber\MaintenanceModeSubscriber::getSubscribedEvents()
- 8 core/modules/user/src/EventSubscriber/MaintenanceModeSubscriber.php \Drupal\user\EventSubscriber\MaintenanceModeSubscriber::getSubscribedEvents()
Same name and namespace in other branches
- 9 core/modules/user/src/EventSubscriber/MaintenanceModeSubscriber.php \Drupal\user\EventSubscriber\MaintenanceModeSubscriber::getSubscribedEvents()
File
- core/
modules/ user/ src/ EventSubscriber/ MaintenanceModeSubscriber.php, line 70
Class
- MaintenanceModeSubscriber
- Maintenance mode subscriber to log out users.
Namespace
Drupal\user\EventSubscriberCode
public static function getSubscribedEvents() {
$events[KernelEvents::REQUEST][] = [
'onKernelRequestMaintenance',
31,
];
return $events;
}