Loading
fix: #3622638 Create the missing default profile and text format on install
Closes https://www.drupal.org/project/display_builder/issues/3622638
- Recipes install modules in syncing mode, so core creates neither the optional config nor the config entities of
display_builder: the default profile and thedisplay_builder_htmltext format were missing. - Add a
modules_installedhook creatingdisplay_builder.profile.default, andfilter.format.display_builder_htmlwhen Filter is enabled, from the shipped YAML when they are missing. Existing config is never overwritten, and a config import is left alone. - Add kernel tests for a recipe install, a normal install, and existing config being kept.
AI-Generated: Yes
Checkpoints
- File an issue
- Addition/Change/Update/Fix
- Testing
- Automated tests
- Reviewed by a human
- Code review by maintainers
Edited by Rajab Natshah