You are here

public function ConfigProviderConfigInstaller::setSourceStorage in Configuration Provider 8

Same name and namespace in other branches
  1. 8.2 src/ProxyClass/ConfigProviderConfigInstaller.php \Drupal\config_provider\ProxyClass\ConfigProviderConfigInstaller::setSourceStorage()

Sets the configuration storage that provides the default configuration.

Parameters

\Drupal\Core\Config\StorageInterface $storage:

Return value

$this

Overrides ConfigInstallerInterface::setSourceStorage

File

src/ProxyClass/ConfigProviderConfigInstaller.php, line 98

Class

ConfigProviderConfigInstaller
Provides a proxy class for \Drupal\config_provider\ConfigProviderConfigInstaller.

Namespace

Drupal\config_provider\ProxyClass

Code

public function setSourceStorage(\Drupal\Core\Config\StorageInterface $storage) {
  return $this
    ->lazyLoadItself()
    ->setSourceStorage($storage);
}