Issue #3001159 by Christian.wiedemann: getSourceStorage() should be part of ConfigInstallerInterface
parent
2728cbeedb
commit
b0b4ef034b
|
@ -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;
|
||||||
|
|
|
@ -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.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue