You are here

public function UpdateConfigurationForm::__construct in Config Direct Save 8

Same name and namespace in other branches
  1. 8.2 src/Form/UpdateConfigurationForm.php \Drupal\config_direct_save\Form\UpdateConfigurationForm::__construct()

Constructs a ConfigController object.

Parameters

\Drupal\Core\Config\StorageInterface $target_storage: The target storage.

\Drupal\Core\Config\ConfigManagerInterface $config_manager: Gets the config factory.

File

src/Form/UpdateConfigurationForm.php, line 48

Class

UpdateConfigurationForm
Provide the settings form for updating configurations.

Namespace

Drupal\config_direct_save\Form

Code

public function __construct(StorageInterface $target_storage, ConfigManagerInterface $config_manager) {
  $this->targetStorage = $target_storage;
  $this->configManager = $config_manager;
}