public function InstallStorage::__construct in Drupal 9
Same name and namespace in other branches
- 8 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\ConfigCode
public function __construct($directory = self::CONFIG_INSTALL_DIRECTORY, $collection = StorageInterface::DEFAULT_COLLECTION) {
parent::__construct($directory, $collection);
}