Closed (fixed)
Project:
Drupal Commons
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
21 Nov 2011 at 16:07 UTC
Updated:
15 Mar 2015 at 09:34 UTC
Jump to comment: Most recent
There are several tasks in the Commons installer where configuration is made without the various benefits of Features.
For example, drupal_commons_config_vars() sets variables, when these could easily exported with Strongarm + Features.
Let's look at these tasks and see which ones would be worth refactoring as Features exports.
Comments
Comment #1
mstef commentedThese were originally done like this, because we wanted variables set by default as per our "suggestion". These are variables that we expect admins to change, so we didn't want them in Features, because changing them would result in Features being overridden, and reverting features would obviously revert these as well.
Hope that makes sense..
Comment #2
ezra-g commentedCouldn't you just put them in a non-required feature?
Comment #3
mstef commentedI suppose you could - but that seems weird (to me). I don't see any harm in setting a few initial defaults this way, but that's just my take.
Comment #4
lsolesen commented