You are here

function hook_config_import_configs_alter in Config Importer and Tools 8

Same name and namespace in other branches
  1. 8.2 config_import.api.php \hook_config_import_configs_alter()

Prevent configurations from import.

Parameters

string[] $configs: A list of configurations restricted for importing.

See also

\Drupal\config_import\ConfigImporterService::filter()

1 function implements hook_config_import_configs_alter()

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

config_import_test_config_import_configs_alter in tests/modules/config_import_test/config_import_test.module
Implements hook_config_import_configs_alter().
1 invocation of hook_config_import_configs_alter()
ConfigImporterService::filter in src/ConfigImporterService.php
Clean storage.

File

./config_import.api.php, line 16
Config Importer API.

Code

function hook_config_import_configs_alter(array &$configs) {
  $configs[] = 'action.settings';
}