Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293641

Allow profiles to provide a base/parent profile and load them in the correct order

$
0
0

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.


Viewing all articles
Browse latest Browse all 293641

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>