Does hitting 'recreate' recreate the feature from the site's elements, or vice versa?

I tried hard looking to this in the documentation, but I couldn't find a clear explanation.


When you recreate a feature via the UI (admin/config/development/features/) or even by using drush (drush fua -y or drush fu feature_name -y) all your configuration changes regarding nodes, modules, blocks, themes etc are being extracted to the corresponding feature directory. Configurations from different modules are saved to different files. In order to apply your changes to another Drupal instance you have to do it the other way around drush fra -y or drush fr feature_name -y and your changes will be stored to the database.

In case that you want to revert some settings back to their initial state, before you move them to another Drupal instance you can do the following: edit and save the appropriate file that you want to revert and then use drush to apply the changes from your files to the database. Thus you'll have your site back to its former state.

  • OK, so in a nutshell hitting 'Recreate' rebuilds the nodes, modules, blocks etc from your previously created feature?
    – MeltingDog
    Feb 28 '17 at 23:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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