MaintenanceModeSubscriber::$eventDispatcher

Same name in other branches
  1. 10 core/lib/Drupal/Core/EventSubscriber/MaintenanceModeSubscriber.php \Drupal\Core\EventSubscriber\MaintenanceModeSubscriber::eventDispatcher
  2. 11.x core/lib/Drupal/Core/EventSubscriber/MaintenanceModeSubscriber.php \Drupal\Core\EventSubscriber\MaintenanceModeSubscriber::eventDispatcher

An event dispatcher instance to use for configuration events.

Type: \Symfony\Contracts\EventDispatcher\EventDispatcherInterface

File

core/lib/Drupal/Core/EventSubscriber/MaintenanceModeSubscriber.php, line 75

Class

MaintenanceModeSubscriber
Maintenance mode subscriber for controller requests.

Namespace

Drupal\Core\EventSubscriber

Code

protected $eventDispatcher;

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