You are here

public function MaintenanceModeDisactivate::__construct in Automatic Updates 8

Constructs a new maintenance mode service.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin_id for the plugin instance.

mixed $plugin_definition: The plugin implementation definition.

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

\Psr\Log\LoggerInterface $logger: The logger.

Overrides PluginBase::__construct

File

src/Plugin/DatabaseUpdateHandler/MaintenanceModeDisactivate.php, line 49

Class

MaintenanceModeDisactivate
Remove site from maintenance mode.

Namespace

Drupal\automatic_updates\Plugin\DatabaseUpdateHandler

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, StateInterface $state, LoggerInterface $logger) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->state = $state;
  $this->logger = $logger;
}