public function ConfigInstaller::setSourceStorage in Drupal 10
Same name in this branch
- 10 core/lib/Drupal/Core/Config/ConfigInstaller.php \Drupal\Core\Config\ConfigInstaller::setSourceStorage()
- 10 core/lib/Drupal/Core/ProxyClass/Config/ConfigInstaller.php \Drupal\Core\ProxyClass\Config\ConfigInstaller::setSourceStorage()
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/ProxyClass/Config/ConfigInstaller.php \Drupal\Core\ProxyClass\Config\ConfigInstaller::setSourceStorage()
- 9 core/lib/Drupal/Core/ProxyClass/Config/ConfigInstaller.php \Drupal\Core\ProxyClass\Config\ConfigInstaller::setSourceStorage()
Sets the configuration storage that provides the default configuration.
Parameters
\Drupal\Core\Config\StorageInterface $storage: The storage.
Return value
$this
Overrides ConfigInstallerInterface::setSourceStorage
File
- core/
lib/ Drupal/ Core/ ProxyClass/ Config/ ConfigInstaller.php, line 98
Class
- ConfigInstaller
- Provides a proxy class for \Drupal\Core\Config\ConfigInstaller.
Namespace
Drupal\Core\ProxyClass\ConfigCode
public function setSourceStorage(\Drupal\Core\Config\StorageInterface $storage) {
return $this
->lazyLoadItself()
->setSourceStorage($storage);
}