function ConfigInstallerInterface::installCollectionDefaultConfig
Same name in other branches
- 9 core/lib/Drupal/Core/Config/ConfigInstallerInterface.php \Drupal\Core\Config\ConfigInstallerInterface::installCollectionDefaultConfig()
- 8.9.x core/lib/Drupal/Core/Config/ConfigInstallerInterface.php \Drupal\Core\Config\ConfigInstallerInterface::installCollectionDefaultConfig()
- 11.x core/lib/Drupal/Core/Config/ConfigInstallerInterface.php \Drupal\Core\Config\ConfigInstallerInterface::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.
File
-
core/
lib/ Drupal/ Core/ Config/ ConfigInstallerInterface.php, line 67
Class
- ConfigInstallerInterface
- Interface for classes that install config.
Namespace
Drupal\Core\ConfigCode
public function installCollectionDefaultConfig($collection);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.