Commit 44a21a94 authored by bircher's avatar bircher

Issue #2886627 by bircher: Split config entities appear as ignored in the config UI

parent f82a2e2f
......@@ -17,8 +17,7 @@ use Drupal\Core\Url;
function config_ignore_form_config_admin_import_form_alter(&$form, FormStateInterface $form_state, $form_id) {
// Load Services that we need.
$config_directory = config_get_config_directory(CONFIG_SYNC_DIRECTORY);
$stock_storage_sync = new FileStorage($config_directory, StorageInterface::DEFAULT_COLLECTION);
$stock_storage_sync = \Drupal::service('config_filter.storage_factory')->getSyncWithoutExcluded(['config_ignore']);
$active_storage_sync = \Drupal::service('config.storage.sync');
$storage = \Drupal::service('config.storage');
$config_manager = \Drupal::service('config.manager');
......
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