You are here

public function MaintenanceModeSubscriber::__construct in Maintenance 200 8

@inheritDoc

File

src/EventSubscriber/MaintenanceModeSubscriber.php, line 22

Class

MaintenanceModeSubscriber

Namespace

Drupal\maintenance200\EventSubscriber

Code

public function __construct(ConfigFactoryInterface $configFactory, MaintenanceModeInterface $maintenanceMode, AccountInterface $account) {
  $this->config = $configFactory
    ->get('maintenance200.settings');
  $this->maintenanceMode = $maintenanceMode;
  $this->account = $account;
}