W3cubDocs

/Drupal 8

public function 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);

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Config!ConfigInstallerInterface.php/function/ConfigInstallerInterface::installCollectionDefaultConfig/8.1.x