function ConfigController::__construct
Same name and namespace in other branches
- 11.x core/modules/config/src/Controller/ConfigController.php \Drupal\config\Controller\ConfigController::__construct()
- 10 core/modules/config/src/Controller/ConfigController.php \Drupal\config\Controller\ConfigController::__construct()
- 9 core/modules/config/src/Controller/ConfigController.php \Drupal\config\Controller\ConfigController::__construct()
- 8.9.x core/modules/config/src/Controller/ConfigController.php \Drupal\config\Controller\ConfigController::__construct()
Constructs a ConfigController object.
Parameters
\Drupal\Core\Config\StorageInterface $targetStorage: The target storage.
\Drupal\Core\Config\StorageInterface $syncStorage: The sync storage.
\Drupal\Core\Config\ConfigManagerInterface $configManager: The config manager.
\Drupal\system\FileDownloadController $fileDownloadController: The file download controller.
\Drupal\Core\Diff\DiffFormatter $diffFormatter: The diff formatter.
\Drupal\Core\File\FileSystemInterface $fileSystem: The file system.
\Drupal\Core\Config\StorageInterface $exportStorage: The export storage.
\Drupal\Core\Config\ImportStorageTransformer $importTransformer: The import transformer service.
File
-
core/
modules/ config/ src/ Controller/ ConfigController.php, line 63
Class
- ConfigController
- Returns responses for config module routes.
Namespace
Drupal\config\ControllerCode
public function __construct(protected StorageInterface $targetStorage, protected StorageInterface $syncStorage, protected ConfigManagerInterface $configManager, protected FileDownloadController $fileDownloadController, protected DiffFormatter $diffFormatter, protected FileSystemInterface $fileSystem, protected StorageInterface $exportStorage, protected ImportStorageTransformer $importTransformer) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.