function ConfigInstaller::setSourceStorage

Sets the configuration storage that provides the default configuration.

Parameters

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

Return value

$this

Overrides ConfigInstallerInterface::setSourceStorage

File

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

Class

ConfigInstaller

Namespace

Drupal\Core\Config

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.