Closed (fixed)
Project:
Strongarm
Version:
6.x-2.0
Component:
Documentation
Priority:
Minor
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
25 Jun 2011 at 01:40 UTC
Updated:
29 Aug 2012 at 14:51 UTC
I want to know more about how works together Strongarm and Features modules. Im not a very technical but i see some sites with strongarm and features and i dont understand very well how the two modules work. please. Can some one write some introduction to the use it? some words...
Comments
Comment #1
bblake commentedStrongarm lets you override the values of variables, and works with features so that you can export the values of variables into your feature. There are a couple reasons that you may want to add variables to your exported feature. You may want to:
1) Capture configurations that you want included when the module is enabled. For instance, if you are creating a new module and need the variable 'abc' set to value 'xyz', you could export that variable into your feature. When the feature is enabled, the variable will be set.
2) Capture variables that change in development for deployment. For example, if you need to change the available search modules during a deployment to production, you could a) visit the admin section of the site and change it after your deployment, or b) export that variable ( search_active_modules ) to a feature and deploy the new code.
An extra benefit of managing variables in features is that configuration changes are not forgotten when a production or staging or other development site gets updated. All the sites will be consistent.
I hope that helps explain some possible use-cases for the two modules.
Comment #2
bblake commentedComment #3
koffer commentedGreat answer! I begin to understand strongarm. So i can record more configuration option with it.