function ConfigInstaller::installCollectionDefaultConfig
Same name in this branch
- 9 core/lib/Drupal/Core/Config/ConfigInstaller.php \Drupal\Core\Config\ConfigInstaller::installCollectionDefaultConfig()
Same name and namespace in other branches
- 8.9.x core/lib/Drupal/Core/ProxyClass/Config/ConfigInstaller.php \Drupal\Core\ProxyClass\Config\ConfigInstaller::installCollectionDefaultConfig()
- 8.9.x core/lib/Drupal/Core/Config/ConfigInstaller.php \Drupal\Core\Config\ConfigInstaller::installCollectionDefaultConfig()
- 10 core/lib/Drupal/Core/ProxyClass/Config/ConfigInstaller.php \Drupal\Core\ProxyClass\Config\ConfigInstaller::installCollectionDefaultConfig()
- 10 core/lib/Drupal/Core/Config/ConfigInstaller.php \Drupal\Core\Config\ConfigInstaller::installCollectionDefaultConfig()
- 11.x core/lib/Drupal/Core/ProxyClass/Config/ConfigInstaller.php \Drupal\Core\ProxyClass\Config\ConfigInstaller::installCollectionDefaultConfig()
- 11.x core/lib/Drupal/Core/Config/ConfigInstaller.php \Drupal\Core\Config\ConfigInstaller::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
-
core/
lib/ Drupal/ Core/ ProxyClass/ Config/ ConfigInstaller.php, line 90
Class
- ConfigInstaller
- Provides a proxy class for \Drupal\Core\Config\ConfigInstaller.
Namespace
Drupal\Core\ProxyClass\ConfigCode
public function installCollectionDefaultConfig($collection) {
return $this->lazyLoadItself()
->installCollectionDefaultConfig($collection);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.