Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 UTC on 18 March 2024, to get $100 off your ticket.
Hi,
Problem/Motivation
I create two extra fields and through UI group them inside a field group.
There is no entity field with them in the group.
I build the content of both extra fields with a renderable array
The field group and its content are hidden.
Proposed resolution
Use helper methods from Element
Remaining tasks
- Reviews needed
- Malformed element is rendered
$element = array('#foo' => 'bar');
User interface changes
None
API changes
None
Comment | File | Size | Author |
---|---|---|---|
#2 | field_group-display-groups-renderable-arrays-2714473-2-8.x-1.0-rc4.patch | 1.63 KB | anfor |
Comments
Comment #2
anfor CreditAttribution: anfor at Axess Open Web Services for Axess Open Web Services commentedComment #3
SylvainM CreditAttribution: SylvainM at Axess Open Web Services commentedHaving the same problem, I can confirm this patch solves it, thx
Comment #4
NerOcrO CreditAttribution: NerOcrO at Axess Open Web Services commentedWorks fine for me, thank's!
Comment #5
harivenuvThank you, works fine for me.
Comment #7
nils.destoop CreditAttribution: nils.destoop as a volunteer and at Wunder commentedThx for the patch. I committed it do dev