Currently, changes are replicated by hands (and rules exports) from dev to a test stage available to the customers. There is actually no live site.

We are going to use the Features module and hook_update_N() in order to deploy the live site.

I wonder what will hapen if I add a feature including some rules already existing on the test stage (created by hand before I got assigned on this project).

Will the rules be overwritten? Will I get errors? I read that updating features files actually updates the rules (or whatever is inside the feature).

2 Answers 2


If you are using Features module in Drupal 7 to deploy the rules. You will get an overriden or needs review flag in the Features UI when you attempt to turn the feature on. Features will see the existing code and it will not attempt to change it. Features is designed so that things done through the Admin UI of Drupal are not overriden unless you force Features to do so via a manual review of the feature.

To save yourself a lot of headache later on in the project I would suggest removing the rules before you install the Feature. Maintain configuration control with Features so that you know if you look at the Features admin page and a feature you have is showing as "overriden" or "needs review" then you have a problem on your website or someone has changed a part of the website. I personally have a website with about 20 features, all of them never say "overridden" or "needs review" if they do then I know another admin has done something that potentially should not have done.

  • Thanks, it seem to be a nice side effect of using Features.
    – Perello
    Commented Nov 25, 2014 at 13:59

If these are reaction rules, you don't need to override anything. You can create new rules for the same events and disable the existing ones.

If they are components, you should be able to use Features Override to override the already defined rules. Caveat: I have not actually used this module on a project recently.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.