Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
It should be possible for install profiles just to be a full site export of configuration. However in order to do this you need to remove the core.extension.yml file and move this information into the profile's .info.yml.
Proposed resolution
If the profile has a core.extension.yml file use this information to populate the dependencies and theme information.
Comments
Comment #2
alexpottThis is related to the www.drupal.org/project/config_installer project. One advantage that has is that it using the ConfigImporter class which resolves dependencies already. Maybe if that functionality is moved into core profiles could have a flag that just says use the ConfigImporter for install rather than the installer...
Comment #3
alexpottGiven issues like #2672340: user_user_role_insert should not exist install profiles containing a full export of config without having www.drupal.org/project/config_installer in core might be too hard to do.
Comment #19
smustgrave CreditAttribution: smustgrave at Mobomo commented@alexpott wonder if this is still a valid task?
Comment #20
alexpottYeah - now that config install is part of core this can be closed. Just have the entire config directory in your profile and be done.