ConfigInstaller::setSourceStorage
public function ConfigInstaller::setSourceStorage
public ConfigInstaller::setSourceStorage(StorageInterface $storage)
Sets the configuration storage that provides the default configuration.
Parameters
\Drupal\Core\Config\StorageInterface $storage:
Return value
$this
Overrides ConfigInstallerInterface::setSourceStorage
File
- core/lib/Drupal/Core/Config/ConfigInstaller.php, line 351
Class
Namespace
Drupal\Core\ConfigCode
public function setSourceStorage(StorageInterface $storage) { $this->sourceStorage = $storage; return $this; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Config!ConfigInstaller.php/function/ConfigInstaller::setSourceStorage/8.1.x