function ConfigInstallerInterface::setSourceStorage

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Config/ConfigInstallerInterface.php \Drupal\Core\Config\ConfigInstallerInterface::setSourceStorage()
  2. 10 core/lib/Drupal/Core/Config/ConfigInstallerInterface.php \Drupal\Core\Config\ConfigInstallerInterface::setSourceStorage()
  3. 11.x core/lib/Drupal/Core/Config/ConfigInstallerInterface.php \Drupal\Core\Config\ConfigInstallerInterface::setSourceStorage()

Sets the configuration storage that provides the default configuration.

Parameters

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

Return value

$this

2 methods override ConfigInstallerInterface::setSourceStorage()
ConfigInstaller::setSourceStorage in core/lib/Drupal/Core/ProxyClass/Config/ConfigInstaller.php
Sets the configuration storage that provides the default configuration.
ConfigInstaller::setSourceStorage in core/lib/Drupal/Core/Config/ConfigInstaller.php
Sets the configuration storage that provides the default configuration.

File

core/lib/Drupal/Core/Config/ConfigInstallerInterface.php, line 77

Class

ConfigInstallerInterface
Interface for classes that install config.

Namespace

Drupal\Core\Config

Code

public function setSourceStorage(StorageInterface $storage);

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