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 commentedComment #3
swentel 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 commentedComment #5
swentel 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 commentedAnd now with patch
Comment #8
swentel commented