ConfigInstaller::getActiveStorages
protected function ConfigInstaller::getActiveStorages
protected ConfigInstaller::getActiveStorages($collection = StorageInterface::DEFAULT_COLLECTION)
Gets the configuration storage that provides the active configuration.
Parameters
string $collection: (optional) The configuration collection. Defaults to the default collection.
Return value
\Drupal\Core\Config\StorageInterface The configuration storage that provides the default configuration.
File
- core/lib/Drupal/Core/Config/ConfigInstaller.php, line 377
Class
Namespace
Drupal\Core\ConfigCode
protected function getActiveStorages($collection = StorageInterface::DEFAULT_COLLECTION) { if (!isset($this->activeStorages[$collection])) { $this->activeStorages[$collection] = reset($this->activeStorages)->createCollection($collection); } return $this->activeStorages[$collection]; }
© 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::getActiveStorages/8.1.x