Skip to content

Commit

Permalink
HSD8-1696: config ignore single content sync settings node types
Browse files Browse the repository at this point in the history
  • Loading branch information
pookmish committed Dec 3, 2024
1 parent 709cf3d commit 416ecc8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/default/config_ignore.settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,4 @@ ignored_config_entities:
- system.site
- 'domain_registration.settings:pattern'
- 'user.settings:register'
- 'single_content_sync.settings:allowed_entity_types.node'
Original file line number Diff line number Diff line change
Expand Up @@ -1026,3 +1026,14 @@ function su_humsci_profile_update_9714() {
$role->save();
}
}

/**
* Update config ignore settings.
*/
function su_humsci_profile_update_9715() {
$config = \Drupal::configFactory()->getEditable('config_ignore.settings');
$ignored_config_entities = $config->get('ignored_config_entities');
$ignored_config_entities[] = 'single_content_sync.settings:allowed_entity_types.node';
$config->set('ignored_config_entities', $ignored_config_entities);
$config->save();
}

0 comments on commit 416ecc8

Please sign in to comment.