As config_split_ignore module is not working anymore with config split 2.x-branch, i need a way to make it possible to ignore some keys of splitted configuration. (or entire config)
For example in a specific case, i wantaed to ignore system.site:page while following to have system.site in my split
I discsussed this case here with Bircher :
https://www.drupal.org/project/config_ignore/issues/3307930#comment-1469...
Setting a higher or lower priority to my stackable split via $settings['config_split_priorities'] was not sufficient as importDefaultPriority will still remain with a 0 priority in config_split module.
My only way to achieve my goal was to set a lower priority to subscribed event of config ignore. (and keep a higher priority on my specific stackable split in config_split_priorities)
On attached patch, i provide a way to set a specifical priority for config_ignore module.
Comments
Comment #2
julien.sibiHere is attached patch to then set piorityo import event subscription via $settings['config_ignore_import_priority']
I don't have an enough good ovrview of export mechanism to tell if it has any interest to do the same with export event?
Comment #3
julien.sibiComment #4
bircheryea makes sense, though I think we should do it for both and add a lot of documentation on what is recommended to do.
Comment #5
julien.sibiHello,
Here is a patch adding export priority too
Comment #7
bircherThank you for your contribution.
Comment #9
joseph.olstadI recommend a default import priority of -1, otherwise the out of the box experience is months/years of frustration. We're using sometimes upwards of 400 modules, just can't dig dig dig into every single one of them.