You are here

public function ConfigProviderConfigInstaller::installCollectionDefaultConfig in Configuration Provider 8.2

Same name and namespace in other branches
  1. 8 src/ProxyClass/ConfigProviderConfigInstaller.php \Drupal\config_provider\ProxyClass\ConfigProviderConfigInstaller::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/ProxyClass/ConfigProviderConfigInstaller.php, line 90

Class

ConfigProviderConfigInstaller
Provides a proxy class for \Drupal\config_provider\ConfigProviderConfigInstaller.

Namespace

Drupal\config_provider\ProxyClass

Code

public function installCollectionDefaultConfig($collection) {
  return $this
    ->lazyLoadItself()
    ->installCollectionDefaultConfig($collection);
}