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\Config
Code
protected function getActiveStorages($collection = StorageInterface::DEFAULT_COLLECTION) {
if (!isset($this->activeStorages[$collection])) {
$this->activeStorages[$collection] = reset($this->activeStorages)->createCollection($collection);
}
return $this->activeStorages[$collection];
}
Please login to continue.