ConfigInstallerInterface::installCollectionDefaultConfig

public ConfigInstallerInterface::installCollectionDefaultConfig($collection)

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 66

Class

ConfigInstallerInterface
Interface for classes that install config.

Namespace

Drupal\Core\Config

Code

public function installCollectionDefaultConfig($collection);
doc_Drupal
2016-10-29 08:53:56
Comments
Leave a Comment

Please login to continue.