Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I think that put a button "Generate feature and activate it" is a very good idea. Usually, when we create a content type or a view, and have to generate the feature for commit it, sometimes forget to activate it. The result of it is that when we download other version and revert it, it was ignore because the feature isn't activate.
Is only an idea but for me would be fantastic. :)
If I have time, its posible that I contribute it.
Comment | File | Size | Author |
---|---|---|---|
#1 | features-generate_and_enable-2099377-1.patch | 1.69 KB | jrb |
Comments
Comment #1
jrbThe attached patch adds an "Enable feature after creation" checkbox to the "Create feature" form. If it's checked, the newly-created feature will be enabled and the user will be redirected to its "Recreate feature" page.
Comment #2
estoyausenteGreat! Ty! I forgot about this suggest. I tested it and it seem be ok.
Comment #3
estoyausenteComment #4
hefox CreditAttribution: hefox commentedWould like more than one review, specially more in if this is the user experience desired for this functionality.
Comment #5
timodwhit CreditAttribution: timodwhit at Miles commentedJust wrote a hook to do this exact thing. Thanks for the patch!