public function ConfigController::__construct

Constructs a ConfigController object.

Parameters

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

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

File

drupal/core/modules/config/lib/Drupal/config/Controller/ConfigController.php, line 51
Contains \Drupal\config\Controller\ConfigController

Class

ConfigController
Returns responses for config module routes.

Namespace

Drupal\config\Controller

Code

public function __construct(StorageInterface $target_storage, StorageInterface $source_storage) {
  $this->targetStorage = $target_storage;
  $this->sourceStorage = $source_storage;
}