function config_ignore_update_8202 in Config Ignore 8.3
Same name and namespace in other branches
- 8.2 config_ignore.install \config_ignore_update_8202()
Remove index from configuration export.
File
- ./
config_ignore.install, line 18 - Install, update and uninstall functions for the config_ignore module.
Code
function config_ignore_update_8202() {
$config = \Drupal::configFactory()
->getEditable('config_ignore.settings');
$ignored_config_entities = $config
->get('ignored_config_entities') ?: [];
$config
->set('ignored_config_entities', array_values($ignored_config_entities));
$config
->save();
}