Updated: Comment #96
Problem/Motivation
I
With Drupal 7's vastly-improved install profile functionality, and the recently-improved drupal.org distribution packaging infrastructure, many new install profiles have been created, and they are awesome.
However, install profiles are not inheritable, so if you want to, say, take Drupal Commons, and base your site off of it, but add one or two extra modules in your own customized install profile, you have to clone the entire install profile and change it to your needs. Allowing install profiles to declare base profiles (just like themes can declare base themes) would allow more code reuse, and make install profiles even more useful.
Proposed resolution
Modify the module load system to take into account base install profiles.
Remaining tasks
- Create plan
User interface changes
None.
API changes
Install profiles can define base profiles using the syntax base: BASE_PROFILE
inside their .info.yml files.
Related Issues
- For D7 patch tracking: #2067229: Allow install profiles to declare base profiles for Drupal 7
- For D8 info inheritance patch tracking: #2692403: Make info and configuration inheritable in profiles