protected function ConfigProviderBase::getExtensionInstallStorage in Configuration Provider 8
Same name and namespace in other branches
- 8.2 src/Plugin/ConfigProviderBase.php \Drupal\config_provider\Plugin\ConfigProviderBase::getExtensionInstallStorage()
Gets the storage for a designated configuration provider.
Parameters
string $directory: The configuration directory (for example, config/install).
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.
2 calls to ConfigProviderBase::getExtensionInstallStorage()
- ConfigProviderInstall::addInstallableConfig in src/
Plugin/ ConfigProvider/ ConfigProviderInstall.php - Adds configuration that is available to be installed or updated.
- ConfigProviderOptional::addInstallableConfig in src/
Plugin/ ConfigProvider/ ConfigProviderOptional.php - Adds configuration that is available to be installed or updated.
File
- src/
Plugin/ ConfigProviderBase.php, line 84
Class
- ConfigProviderBase
- Base class for Configuration provider plugins.
Namespace
Drupal\config_provider\PluginCode
protected function getExtensionInstallStorage($directory, $collection = StorageInterface::DEFAULT_COLLECTION) {
return new ExtensionInstallStorage($this
->getActiveStorages($collection), $directory, $collection);
}