Rendering child fields in field group twig template

Created on 25 April 2017, almost 8 years ago
Updated 6 August 2024, 6 months ago

I'm looking for some help theming field groups.

Within a field group twig template, I want to be able to work with the group's child field values separately.

So, if I'm working in field-group-html-element--group-machine-name.html.twig, how do I render the values of field_one and field_two, which are set up as children of the field group?

Thanks in advance for any help!

✨ Feature request
Status

Needs work

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States kittysunshine Columbus, OH

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024