You are here

public function ConfigImportForm::__construct in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/config/src/Form/ConfigImportForm.php \Drupal\config\Form\ConfigImportForm::__construct()
  2. 10 core/modules/config/src/Form/ConfigImportForm.php \Drupal\config\Form\ConfigImportForm::__construct()

Constructs a new ConfigImportForm.

Parameters

\Drupal\Core\Config\StorageInterface $config_storage: The configuration storage.

\Drupal\Core\File\FileSystemInterface $file_system: The file system service.

\Drupal\Core\Site\Settings $settings: The settings object.

File

core/modules/config/src/Form/ConfigImportForm.php, line 51

Class

ConfigImportForm
Defines the configuration import form.

Namespace

Drupal\config\Form

Code

public function __construct(StorageInterface $config_storage, FileSystemInterface $file_system, Settings $settings) {
  $this->configStorage = $config_storage;
  $this->fileSystem = $file_system;
  $this->settings = $settings;
}