You are here

public function ConfigInstaller::getSourceStorage in Drupal 10

Same name in this branch
  1. 10 core/lib/Drupal/Core/Config/ConfigInstaller.php \Drupal\Core\Config\ConfigInstaller::getSourceStorage()
  2. 10 core/lib/Drupal/Core/ProxyClass/Config/ConfigInstaller.php \Drupal\Core\ProxyClass\Config\ConfigInstaller::getSourceStorage()
Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/ProxyClass/Config/ConfigInstaller.php \Drupal\Core\ProxyClass\Config\ConfigInstaller::getSourceStorage()
  2. 9 core/lib/Drupal/Core/ProxyClass/Config/ConfigInstaller.php \Drupal\Core\ProxyClass\Config\ConfigInstaller::getSourceStorage()

Gets the configuration storage that provides the default configuration.

Return value

\Drupal\Core\Config\StorageInterface|null The configuration storage that provides the default configuration. Returns null if the source storage has not been set.

Overrides ConfigInstallerInterface::getSourceStorage

File

core/lib/Drupal/Core/ProxyClass/Config/ConfigInstaller.php, line 106

Class

ConfigInstaller
Provides a proxy class for \Drupal\Core\Config\ConfigInstaller.

Namespace

Drupal\Core\ProxyClass\Config

Code

public function getSourceStorage() {
  return $this
    ->lazyLoadItself()
    ->getSourceStorage();
}