JsonapiMaintenanceModeSubscriber::$maintenanceMode

Same name in other branches
  1. 9 core/modules/jsonapi/src/EventSubscriber/JsonapiMaintenanceModeSubscriber.php \Drupal\jsonapi\EventSubscriber\JsonapiMaintenanceModeSubscriber::maintenanceMode
  2. 11.x core/modules/jsonapi/src/EventSubscriber/JsonapiMaintenanceModeSubscriber.php \Drupal\jsonapi\EventSubscriber\JsonapiMaintenanceModeSubscriber::maintenanceMode

The maintenance mode.

Type: \Drupal\Core\Site\MaintenanceMode

File

core/modules/jsonapi/src/EventSubscriber/JsonapiMaintenanceModeSubscriber.php, line 30

Class

JsonapiMaintenanceModeSubscriber
Maintenance mode subscriber for JSON:API requests.

Namespace

Drupal\jsonapi\EventSubscriber

Code

protected $maintenanceMode;

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