You are here

public function DecoratingConfigInstaller::setSourceStorage in Configuration selector 8.2

Same name and namespace in other branches
  1. 8 src/DecoratingConfigInstaller.php \Drupal\config_selector\DecoratingConfigInstaller::setSourceStorage()

Sets the configuration storage that provides the default configuration.

Parameters

\Drupal\Core\Config\StorageInterface $storage:

Return value

$this

Overrides ConfigInstallerInterface::setSourceStorage

File

src/DecoratingConfigInstaller.php, line 68

Class

DecoratingConfigInstaller
Decorates the config.installer service so install_install_profiles() works.

Namespace

Drupal\config_selector

Code

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