Issue #3001159 by Christian.wiedemann: getSourceStorage() should be part of ConfigInstallerInterface

8.7.x
Nathaniel Catchpole 2018-11-15 14:55:22 +00:00
parent 2728cbeedb
commit b0b4ef034b
2 changed files with 10 additions and 5 deletions

View File

@ -379,11 +379,7 @@ class ConfigInstaller implements ConfigInstallerInterface {
} }
/** /**
* Gets the configuration storage that provides the default configuration. * {@inheritdoc}
*
* @return \Drupal\Core\Config\StorageInterface|null
* The configuration storage that provides the default configuration.
* Returns null if the source storage has not been set.
*/ */
public function getSourceStorage() { public function getSourceStorage() {
return $this->sourceStorage; return $this->sourceStorage;

View File

@ -75,6 +75,15 @@ interface ConfigInstallerInterface {
*/ */
public function setSourceStorage(StorageInterface $storage); public function setSourceStorage(StorageInterface $storage);
/**
* Gets the configuration storage that provides the default configuration.
*
* @return \Drupal\Core\Config\StorageInterface|null
* The configuration storage that provides the default configuration.
* Returns null if the source storage has not been set.
*/
public function getSourceStorage();
/** /**
* Sets the status of the isSyncing flag. * Sets the status of the isSyncing flag.
* *