InstallStorage::__construct

public InstallStorage::__construct($directory = self::CONFIG_INSTALL_DIRECTORY, $collection = StorageInterface::DEFAULT_COLLECTION)

Constructs an InstallStorage object.

Parameters

string $directory: The directory to scan in each extension to scan for files. Defaults to 'config/install'.

string $collection: (optional) The collection to store configuration in. Defaults to the default collection.

Overrides FileStorage::__construct

File

core/lib/Drupal/Core/Config/InstallStorage.php, line 60

Class

InstallStorage
Storage used by the Drupal installer.

Namespace

Drupal\Core\Config

Code

public function __construct($directory = self::CONFIG_INSTALL_DIRECTORY, $collection = StorageInterface::DEFAULT_COLLECTION) {
  parent::__construct($directory, $collection);
}
doc_Drupal
2016-10-29 09:20:58
Comments
Leave a Comment

Please login to continue.