You are here

public function ConfigRevertConfirmForm::__construct in Configuration Update Manager 8

Constructs a ConfigRevertConfirmForm object.

Parameters

\Drupal\config_update\ConfigListInterface $config_list: The config lister.

\Drupal\config_update\ConfigRevertInterface $config_update: The config reverter.

File

config_update_ui/src/Form/ConfigRevertConfirmForm.php, line 54

Class

ConfigRevertConfirmForm
Defines a confirmation form for reverting configuration.

Namespace

Drupal\config_update_ui\Form

Code

public function __construct(ConfigListInterface $config_list, ConfigRevertInterface $config_update) {
  $this->configList = $config_list;
  $this->configRevert = $config_update;
}