- π©πͺGermany cweiske
If you just need the value of a URL child element in the field group template, access it via
{{ element.field_detail_url[0]['#url'].toString() }}
The "
element
" variable is available in the templates, even if that is not written down in thefield-group-html-element.html.twig
comments. - Status changed to Needs work
over 1 year ago 5:39am 9 October 2023 - π©πͺGermany Anybody Porta Westfalica
Could this please be prepared as MR? Also needs tests.
- Merge request !69Issue #2872723 by Ruslan Piskarov: Rendering child fields in field group twig template β (Open) created by sleitner