Commit 135ec3de authored by bircher's avatar bircher

Issue #2889769 by bircher: clear config filter cache on ignore form submission

parent 44a21a94
...@@ -68,6 +68,9 @@ Examples: <ul> ...@@ -68,6 +68,9 @@ Examples: <ul>
$config_ignore_settings->set('ignored_config_entities', $config_ignore_settings_array); $config_ignore_settings->set('ignored_config_entities', $config_ignore_settings_array);
$config_ignore_settings->save(); $config_ignore_settings->save();
parent::submitForm($form, $form_state); parent::submitForm($form, $form_state);
// Clear the config_filter plugin cache.
\Drupal::service('plugin.manager.config_filter')->clearCachedDefinitions();
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment