public function FeaturesExtensionStoragesInterface::addStorage in Features 8.4
Same name and namespace in other branches
- 8.3 src/FeaturesExtensionStoragesInterface.php \Drupal\features\FeaturesExtensionStoragesInterface::addStorage()
Adds a storage.
Parameters
string $directory: (optional) The configuration directory. If omitted, InstallStorage::CONFIG_INSTALL_DIRECTORY will be used.
1 method overrides FeaturesExtensionStoragesInterface::addStorage()
- FeaturesExtensionStorages::addStorage in src/
FeaturesExtensionStorages.php - Adds a storage.
File
- src/
FeaturesExtensionStoragesInterface.php, line 40
Class
- FeaturesExtensionStoragesInterface
- The FeaturesExtensionStorages provides a collection of extension storages, one for each supported configuration directory.
Namespace
Drupal\featuresCode
public function addStorage($directory = InstallStorage::CONFIG_INSTALL_DIRECTORY);