1

I want to create a clone of the Notebook feature and would like to do it without copying the files and doing a find/replace on the text. Is there an easy/built-in way to clone a feature and provide it with a new name?

1 Answer 1

1

Try http://drupal.org/project/features_clone. From the project page:

Features Clone is a Drush command that allows quick cloning of a Feature. It can be used to rename or fork (e.g. to start a new feature off of an existing one) a Feature installed on a Drupal site.

1
  • 1
    Drush/Features Clone doesn't work perfectly, but it does save a tonne of time renaming files and functions. It does a simple find/replace so there are some instances where you need to manually go into the files and replace text...no biggie. Thanks again! Jul 19, 2012 at 11:45

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.