class MaintenanceModeEvents

Same name in other branches
  1. 10 core/lib/Drupal/Core/Site/MaintenanceModeEvents.php \Drupal\Core\Site\MaintenanceModeEvents
  2. 11.x core/lib/Drupal/Core/Site/MaintenanceModeEvents.php \Drupal\Core\Site\MaintenanceModeEvents

Defines events for maintenance mode.

Hierarchy

Expanded class hierarchy of MaintenanceModeEvents

3 files declare their use of MaintenanceModeEvents
JsonapiMaintenanceModeSubscriber.php in core/modules/jsonapi/src/EventSubscriber/JsonapiMaintenanceModeSubscriber.php
MaintenanceModeSubscriber.php in core/modules/user/src/EventSubscriber/MaintenanceModeSubscriber.php
MaintenanceModeSubscriber.php in core/lib/Drupal/Core/EventSubscriber/MaintenanceModeSubscriber.php

File

core/lib/Drupal/Core/Site/MaintenanceModeEvents.php, line 8

Namespace

Drupal\Core\Site
View source
final class MaintenanceModeEvents {
    
    /**
     * The name of the event fired when request is made in maintenance more.
     */
    const MAINTENANCE_MODE_REQUEST = 'site.maintenance_mode_request';

}

Members

Title Sort descending Modifiers Object type Summary
MaintenanceModeEvents::MAINTENANCE_MODE_REQUEST constant The name of the event fired when request is made in maintenance more.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.