You are here

public function ConfigInstallerInterface::setSourceStorage in Drupal 9

Same name and namespace in other branches
  1. 8 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:

Return value

$this

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

File

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

Class

ConfigInstallerInterface
Interface for classes that install config.

Namespace

Drupal\Core\Config

Code

public function setSourceStorage(StorageInterface $storage);