final class MaintenanceModeEvents in Drupal 10
Defines events for maintenance mode.
Hierarchy
- class \Drupal\Core\Site\MaintenanceModeEvents
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/
lib/ Drupal/ Core/ EventSubscriber/ MaintenanceModeSubscriber.php - MaintenanceModeSubscriber.php in core/
modules/ user/ src/ EventSubscriber/ MaintenanceModeSubscriber.php
File
- core/
lib/ Drupal/ Core/ Site/ MaintenanceModeEvents.php, line 8
Namespace
Drupal\Core\SiteView 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';
}