MaintenanceModeSubscriber

Maintenance mode subscriber to log out users.

Hierarchy

File

core/modules/user/src/EventSubscriber/MaintenanceModeSubscriber.php, line 16

Namespace

Drupal\user\EventSubscriber

Members

Name Modifiers Type Description
MaintenanceModeSubscriber::$account protected property The current account.
MaintenanceModeSubscriber::$maintenanceMode protected property The maintenance mode.
MaintenanceModeSubscriber::getSubscribedEvents public static function Returns an array of event names this subscriber wants to listen to. Overrides EventSubscriberInterface::getSubscribedEvents
MaintenanceModeSubscriber::onKernelRequestMaintenance public function Logout users if site is in maintenance mode.
MaintenanceModeSubscriber::__construct public function Constructs a new MaintenanceModeSubscriber.
UrlGeneratorTrait::$urlGenerator protected property The url generator.
UrlGeneratorTrait::getUrlGenerator protected function Returns the URL generator service.
UrlGeneratorTrait::redirect protected function Returns a redirect response object for the specified route.
UrlGeneratorTrait::setUrlGenerator public function Sets the URL generator service.
UrlGeneratorTrait::url Deprecated protected function Generates a URL or path for a specific route based on the given parameters.
doc_Drupal
2016-10-29 09:25:22
Comments
Leave a Comment

Please login to continue.