ConfigController::__construct

public ConfigController::__construct(StorageInterface $target_storage, StorageInterface $source_storage, ConfigManagerInterface $config_manager, FileDownloadController $file_download_controller, DiffFormatter $diff_formatter)

Constructs a ConfigController object.

Parameters

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

\Drupal\Core\Config\StorageInterface $source_storage: The source storage

\Drupal\system\FileDownloadController $file_download_controller: The file download controller.

File

core/modules/config/src/Controller/ConfigController.php, line 79

Class

ConfigController
Returns responses for config module routes.

Namespace

Drupal\config\Controller

Code

public function __construct(StorageInterface $target_storage, StorageInterface $source_storage, ConfigManagerInterface $config_manager, FileDownloadController $file_download_controller, DiffFormatter $diff_formatter) {
  $this->targetStorage = $target_storage;
  $this->sourceStorage = $source_storage;
  $this->configManager = $config_manager;
  $this->fileDownloadController = $file_download_controller;
  $this->diffFormatter = $diff_formatter;
}
doc_Drupal
2016-10-29 08:52:16
Comments
Leave a Comment

Please login to continue.