You are here

public function FeaturesExtensionStoragesInterface::addStorage in Features 8.4

Same name and namespace in other branches
  1. 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\features

Code

public function addStorage($directory = InstallStorage::CONFIG_INSTALL_DIRECTORY);