public function MaintenanceModeSubscriber::__construct in Maintenance 200 8
@inheritDoc
File
- src/
EventSubscriber/ MaintenanceModeSubscriber.php, line 22
Class
Namespace
Drupal\maintenance200\EventSubscriberCode
public function __construct(ConfigFactoryInterface $configFactory, MaintenanceModeInterface $maintenanceMode, AccountInterface $account) {
$this->config = $configFactory
->get('maintenance200.settings');
$this->maintenanceMode = $maintenanceMode;
$this->account = $account;
}