You are here

public function ConfigProviderInterface::addInstallableConfig in Configuration Provider 8.2

Same name and namespace in other branches
  1. 8 src/Plugin/ConfigProviderInterface.php \Drupal\config_provider\Plugin\ConfigProviderInterface::addInstallableConfig()

Adds configuration that is available to be installed or updated.

Not intended to be called an install time, this method instead facilitates determining what configuration updates are available.

Implementing plugins should write configuration as appropriate to the ::providerStorage storage.

Parameters

\Drupal\Core\Extension\Extension[] $extensions: (Optional) An associative array of Extension objects, keyed by extension name. If provided, data loaded will be limited to these extensions.

See also

\Drupal\config_provider\Plugin\ConfigProviderInterface\addConfigToCreate()

3 methods override ConfigProviderInterface::addInstallableConfig()
ConfigProviderInstall::addInstallableConfig in src/Plugin/ConfigProvider/ConfigProviderInstall.php
Adds configuration that is available to be installed or updated.
ConfigProviderOptional::addInstallableConfig in src/Plugin/ConfigProvider/ConfigProviderOptional.php
Adds configuration that is available to be installed or updated.
Foo::addInstallableConfig in tests/modules/config_provider_multi_providers_test/src/Plugin/ConfigProvider/Foo.php
Adds configuration that is available to be installed or updated.

File

src/Plugin/ConfigProviderInterface.php, line 112

Class

ConfigProviderInterface
Defines an interface for Configuration provider plugins.

Namespace

Drupal\config_provider\Plugin

Code

public function addInstallableConfig(array $extensions = []);