Provides the default implementation of the maintenance mode service.
Hierarchy
- class \Drupal\Core\Site\MaintenanceMode implements MaintenanceModeInterface
File
- core/lib/Drupal/Core/Site/MaintenanceMode.php, line 12
Namespace
Drupal\Core\Site
Members
Name | Modifiers | Type | Description |
---|---|---|---|
MaintenanceMode::$state | protected | property | The state. |
MaintenanceMode::applies | public | function | Returns whether the site is in maintenance mode. Overrides MaintenanceModeInterface::applies |
MaintenanceMode::exempt | public | function | Determines whether a user has access to the site in maintenance mode. Overrides MaintenanceModeInterface::exempt |
MaintenanceMode::__construct | public | function | Constructs a new maintenance mode service. |
Please login to continue.