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.
Hey there,
Just wanted to let you all know that I'm playing around with Drupal 8, using the Display Suite Extra to Render Fields as Blocks in different regions, and noticed that Field Groups are not rendering properly when moved into a different region. If I rendered the Field Group in the main Content region, there is no issue and the module works as intended. If I'm missing something, I apologize, but I thought I'd at least bring it to your attention.
Thanks,
Charles Wernlund
Comments
Comment #2
weri CreditAttribution: weri at Previon Plus AG commentedI can confirm this problem, that when fields exposed in a block with display suite, the field groups are not rendered.
Comment #3
weri CreditAttribution: weri at Previon Plus AG commentedI've done some debugging but found not a real solution to provide a patch. Maybe we need an additional alter hook in the display suite.
When I add the field_group_form_pre_render() function in the display suite region block, the field groups are rendered.
From:
To (it's a hack to try, but not a real solution):
I was searching for an alter hook before ds block region is rendered, but this seems not be possible with the existing alter hooks.
Comment #4
campbellt_ CreditAttribution: campbellt_ at Lil Engine commentedClosing due to outdated. Please reopen if still an issue.