public function ConfigPartialExportForm::__construct in Config Partial Export 8
Constructs the object.
Parameters
\Drupal\Core\Config\StorageInterface $active_storage: The target storage.
\Drupal\Core\Config\StorageInterface $snapshot_storage: The snapshot storage.
\Drupal\Core\Config\ConfigManagerInterface $config_manager: Configuration manager.
\Drupal\Core\File\FileSystemInterface $file_system: The file system service.
\Drupal\Core\State\StateInterface $state: The state object of the current site instance.
File
- src/
Form/ ConfigPartialExportForm.php, line 70
Class
- ConfigPartialExportForm
- Construct the storage changes in a configuration synchronization form.
Namespace
Drupal\config_partial_export\FormCode
public function __construct(StorageInterface $active_storage, StorageInterface $snapshot_storage, ConfigManagerInterface $config_manager, FileSystemInterface $file_system, StateInterface $state) {
$this->activeStorage = $active_storage;
$this->snapshotStorage = $snapshot_storage;
$this->configManager = $config_manager;
$this->fileSystem = $file_system;
$this->state = $state;
}