function InstallStorage::__construct

Same name in other branches
  1. 9 core/lib/Drupal/Core/Config/InstallStorage.php \Drupal\Core\Config\InstallStorage::__construct()
  2. 10 core/lib/Drupal/Core/Config/InstallStorage.php \Drupal\Core\Config\InstallStorage::__construct()
  3. 11.x core/lib/Drupal/Core/Config/InstallStorage.php \Drupal\Core\Config\InstallStorage::__construct()

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

1 call to InstallStorage::__construct()
ExtensionInstallStorage::__construct in core/lib/Drupal/Core/Config/ExtensionInstallStorage.php
Overrides \Drupal\Core\Config\InstallStorage::__construct().
1 method overrides InstallStorage::__construct()
ExtensionInstallStorage::__construct in core/lib/Drupal/Core/Config/ExtensionInstallStorage.php
Overrides \Drupal\Core\Config\InstallStorage::__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);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.