- πΊπΈUnited States justcaldwell Austin, Texas
I agree π― that this would be great, but I suspect it's going to be pretty difficult to implement.
In the meantime, we use the method described here β to use Layout Builder and Field Groups together.
For example, assuming you're using Layout Builder to manage the "Full content" view mode for your entity:
- Create a new view mode (let's call it "Secondary") for your entity, and configure your field group(s) at Manage display > Secondary.
- Install/enable ctools β if necessary
- Add the ctools block " Entity view (Content) β " to your "Full content" layout and choose the "Secondary" view mode.
This will render the field group you built in the "Secondary" view mode in your "Full content" layout. Not the most intuitive workflow, but it works. Hope that helps somebody.
- π«π·France hassebasse
Thank you @justcaldwell
Will concider it, or maybe I stick to DS also in D10, but I really would like to go to Layoutbuilder.
- π―π΅Japan ptmkenny
Please stop adding +1 to the issue. If you want updates, use the follow button.
If you want this to happen, please write the code and contribute a merge request. As stated on the project page, Field Group is "Considered feature-complete by its maintainers.", so if we want this feature, someone needs to step up and write it.
- π¦π²Armenia murz Yerevan, Armenia
Want to share an idea of how the Field Groups can be represented in UI on the "Manage Display" page when the Layout Builder is enabled.
Actually, in the layout builder mode the order of field groups doesn't matter, so we can just render a plain list of groups there, linked to the Field Group edit form.
And on the Field Group edit form, we can add a list of available fields to choose with checkboxes indicating which fields are included in the group.
And then, Field Group can provide blocks that render these fields.
So, we're just moving the field group settings to a separate form, keeping the logic the same. What do you think about this idea?