You are here

public function ConfigInstallerInterface::installCollectionDefaultConfig in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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\Config

Code

public function installCollectionDefaultConfig($collection);