Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Config/ExtensionInstallStorage.php \Drupal\Core\Config\ExtensionInstallStorage::__construct()
  2. 9 core/lib/Drupal/Core/Config/ExtensionInstallStorage.php \Drupal\Core\Config\ExtensionInstallStorage::__construct()

Overrides \Drupal\Core\Config\InstallStorage::__construct().

Parameters

\Drupal\Core\Config\StorageInterface $config_storage: The active configuration store where the list of enabled modules and themes is stored.

string $directory: The directory to scan in each extension to scan for files.

string $collection: The collection to store configuration in.

bool $include_profile: Whether to include the install profile in extensions to search and to get overrides from.

string $profile: The current installation profile.

Overrides InstallStorage::__construct

File

core/lib/Drupal/Core/Config/ExtensionInstallStorage.php, line 54

Class

ExtensionInstallStorage
Storage to access configuration and schema in enabled extensions.

Namespace

Drupal\Core\Config

Code

public function __construct(StorageInterface $config_storage, $directory, $collection, $include_profile, $profile) {
  parent::__construct($directory, $collection);
  $this->configStorage = $config_storage;
  $this->includeProfile = $include_profile;
  $this->installProfile = $profile;
}