You are here

public function ConfigInstallerInterface::setSourceStorage in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Config/ConfigInstallerInterface.php \Drupal\Core\Config\ConfigInstallerInterface::setSourceStorage()
  2. 9 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

1 method overrides ConfigInstallerInterface::setSourceStorage()
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 77

Class

ConfigInstallerInterface
Interface for classes that install config.

Namespace

Drupal\Core\Config

Code

public function setSourceStorage(StorageInterface $storage);