You are here

function hook_config_ignore_settings_alter in Config Ignore 8

Same name and namespace in other branches
  1. 8.3 config_ignore.api.php \hook_config_ignore_settings_alter()
  2. 8.2 config_ignore.api.php \hook_config_ignore_settings_alter()

Alter the list of config entities that should be ignored.

1 function implements hook_config_ignore_settings_alter()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

config_ignore_hook_test_config_ignore_settings_alter in tests/config_ignore_hook_test/config_ignore_hook_test.module
Implements hook_config_ignore_settings_alter().
1 invocation of hook_config_ignore_settings_alter()
ConfigImporterIgnore::matchConfigName in src/ConfigImporterIgnore.php
Match a config entity name against the list of ignored config entities.

File

./config_ignore.api.php, line 16
Hooks specific to the Config Ignore module.

Code

function hook_config_ignore_settings_alter(array &$settings) {
  $settings[] = 'system.site';
  $settings[] = 'field.*';
}