function ConfigImportForm::__construct
Same name in other branches
- 9 core/modules/config/src/Form/ConfigImportForm.php \Drupal\config\Form\ConfigImportForm::__construct()
- 8.9.x core/modules/config/src/Form/ConfigImportForm.php \Drupal\config\Form\ConfigImportForm::__construct()
- 11.x 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\FormCode
public function __construct(StorageInterface $config_storage, FileSystemInterface $file_system, Settings $settings) {
$this->configStorage = $config_storage;
$this->fileSystem = $file_system;
$this->settings = $settings;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.