Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ConfigInstallerInterface.php

function 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 67

Class

ConfigInstallerInterface
Interface for classes that install config.

Namespace

Drupal\Core\Config

Code

public function installCollectionDefaultConfig($collection);

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal