You are here

public function NullConfigIgnorePlugin::getConfigurations in Config Ignore Keys 8

Should return an array containing the following structure.


 [
   'name.of.the.configuration.file.without.extension.1' => [
     'key.of.the.configuration.1'
     'key.of.the.configuration.2'
   ],
   'name.of.the.configuration.file.without.extension.2' => [
     'key.of.the.configuration.1'
     'key.of.the.configuration.2'
   ],
   'name.of.the.configuration.file.without.extension.3'
]

The key.of.the.configuration is the path to the config key inside the array containing the entire configuration of the file.

For 'name.of.the.configuration.file.without.extension.3' the whole file will be ignored.

Return value

array The configuration.

Overrides ConfigurationIgnorePluginInterface::getConfigurations

See also

ConfigFactoryInterface::getEditable()

File

src/Plugin/ConfigIgnore/NullConfigIgnorePlugin.php, line 21

Class

NullConfigIgnorePlugin
Null config ignore plugin.

Namespace

Drupal\config_ignore_keys\Plugin\ConfigIgnore

Code

public function getConfigurations() {
  return [];
}