Created on 18 August 2020, about 4 years ago
Updated 24 July 2024, about 2 months ago

I expect this is beginners twig question, but please with me.

I have my Site Settings form set up nicely and have tokens working as expected, but I can not say the same for twig.

I have a field called email under a field group called info. The resulting token [site_settings:info--email] works fine.

When I try to replicate this with twig, nothing is rendered.

I am using {{ site_settings.info.email }}

The content of site_settings.site_setting_entity_type.email.yml is copied below.

uuid: 2c8f05d7-1732-4679-b812-73bedbb27886
langcode: en
status: true
dependencies: {  }
id: email
label: 'Main Email'
fieldset: Info
multiple: false

What am I doing wrong?

💬 Support request
Status

Closed: outdated

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom MrPaulDriver

Live updates comments and jobs are added and updated live.
Sign in to follow issues

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