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.
Right now the boxes are automatically exported when another component is exported that uses them.
This is problematic for example when exporting a context which includes a box but the box itself shouldn't be part of the feature. so that the feature is not overridden when the box content changes.
Removing boxes_features_pipe_block_alter
solves this, yet allows the boxes to be exported when one wishes to do so.
Comment | File | Size | Author |
---|---|---|---|
#1 | optional_export-2079447-1.patch | 627 bytes | bircher |
Comments
Comment #1
bircherAnd attached the patch for 7.x-1.x-dev
Comment #2
joachim CreditAttribution: joachim commentedWith Features 2.x, you can choose to not include a component that Features is trying to add automatically.
I think the UX of having boxes added automatically overrules having to unselect them if you don't want them.
Comment #3
bircherThat is a fair argument of course.
I just expected it to work like the other modules but I'm fine with this choice as well.
Comment #4
bircher