You are here

public function ConfigInstaller::setSourceStorage in Drupal 8

Same name in this branch
  1. 8 core/lib/Drupal/Core/Config/ConfigInstaller.php \Drupal\Core\Config\ConfigInstaller::setSourceStorage()
  2. 8 core/lib/Drupal/Core/ProxyClass/Config/ConfigInstaller.php \Drupal\Core\ProxyClass\Config\ConfigInstaller::setSourceStorage()
Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Config/ConfigInstaller.php \Drupal\Core\Config\ConfigInstaller::setSourceStorage()
  2. 10 core/lib/Drupal/Core/Config/ConfigInstaller.php \Drupal\Core\Config\ConfigInstaller::setSourceStorage()

Sets the configuration storage that provides the default configuration.

Parameters

\Drupal\Core\Config\StorageInterface $storage:

Return value

$this

Overrides ConfigInstallerInterface::setSourceStorage

File

core/lib/Drupal/Core/Config/ConfigInstaller.php, line 404

Class

ConfigInstaller

Namespace

Drupal\Core\Config

Code

public function setSourceStorage(StorageInterface $storage) {
  $this->sourceStorage = $storage;
  return $this;
}