public function ConfigInstallerInterface::installCollectionDefaultConfig in Zircon Profile 8.0
Same name and namespace in other branches
- 8 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.
2 methods override ConfigInstallerInterface::installCollectionDefaultConfig()
- ConfigInstaller::installCollectionDefaultConfig in core/
lib/ Drupal/ Core/ Config/ ConfigInstaller.php - Installs all default configuration in the specified collection.
- ConfigInstaller::installCollectionDefaultConfig in core/
lib/ Drupal/ Core/ ProxyClass/ Config/ ConfigInstaller.php - Installs all default configuration in the specified collection.
File
- core/
lib/ Drupal/ Core/ Config/ ConfigInstallerInterface.php, line 71 - Contains \Drupal\Core\Config\ConfigInstallerInterface.
Class
- ConfigInstallerInterface
- Interface for classes that install config.
Namespace
Drupal\Core\ConfigCode
public function installCollectionDefaultConfig($collection);