public function DecoratingConfigInstaller::installCollectionDefaultConfig in Configuration selector 8
Same name and namespace in other branches
- 8.2 src/DecoratingConfigInstaller.php \Drupal\config_selector\DecoratingConfigInstaller::installCollectionDefaultConfig()
Installs all default configuration in the specified collection.
The function is useful if the site needs to respond to an event that has just created another collection and we need to check all the installed extensions for any matching configuration. For example, if a language has just been created.
Parameters
string $collection: The configuration collection.
Overrides ConfigInstallerInterface::installCollectionDefaultConfig
File
- src/
DecoratingConfigInstaller.php, line 57
Class
- DecoratingConfigInstaller
- Decorates the config.installer service so install_install_profiles() works.
Namespace
Drupal\config_selectorCode
public function installCollectionDefaultConfig($collection) {
$this->decoratedService
->installCollectionDefaultConfig($collection);
}