You are here

public function AcsfMaintenanceModeSubscriber::__construct in Acquia Cloud Site Factory Connector 8

Same name and namespace in other branches
  1. 8.2 src/EventSubscriber/AcsfMaintenanceModeSubscriber.php \Drupal\acsf\EventSubscriber\AcsfMaintenanceModeSubscriber::__construct()

Constructs a new AcsfMaintenanceModeSubscriber.

Parameters

\Drupal\Core\State\StateInterface $state: The state.

File

src/EventSubscriber/AcsfMaintenanceModeSubscriber.php, line 33

Class

AcsfMaintenanceModeSubscriber
Response subscriber to add SF maintenance mode header.

Namespace

Drupal\acsf\EventSubscriber

Code

public function __construct(StateInterface $state) {
  $this->state = $state;
}