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.
Found out while debugging #3086008: Removing a DS layout sets groups region to hidden instead of 'content'
Field Group sets the region of a group to $default_region, being hidden if it doesn't know about the layout in field_group_field_overview_submit(). It knows a bit about field layout module, but that one is going away anyway, so we should set the available_regions to those of the ds layout if enabled.
This isn't critical because DS comes in first to render the form and or display, however, the information in the entity display config is wrong.
Comment | File | Size | Author |
---|---|---|---|
#6 | 3086017-5.patch | 2.35 KB | swentel |
Comments
Comment #2
swentel CreditAttribution: swentel at eps & kaas for Dropsolid commentedComment #3
swentel CreditAttribution: swentel at eps & kaas for Dropsolid commentedThis happens in any DS layout, but it's easy to see in say a two column layout where the region keys are 'left' and 'right'.
Comment #4
swentel CreditAttribution: swentel at eps & kaas for Dropsolid commentedComment #5
swentel CreditAttribution: swentel at eps & kaas for Dropsolid commentedThis adds the ds info so that the region info is ok for the field group.
There's an issue in DS to reset the field group form_state params in case the layout is deactivated, see #3086024: Reset field group state params when layout is deactivated.
Comment #6
swentel CreditAttribution: swentel at eps & kaas for Dropsolid commentedAnd now with patch
Comment #8
swentel CreditAttribution: swentel at eps & kaas for Dropsolid commented