- Issue created by @johanvdr
- Status changed to Closed: works as designed
over 1 year ago 8:16am 26 July 2023 - 🇬🇧United Kingdom scott_euser
With the current Renderer, the easiest way to handle this is to use something like Twig Tweak to render the entity from the ID https://www.drupal.org/docs/contributed-modules/twig-tweak-2x/cheat-shee... →
I suppose the bigger goal here is to actually use the Manage Display as a Renderer option rather than the minimal rendering currently done. That would also mean not auto-loading it into every template as we would add too much overhead. If we do that I would imagine it being a separate bigger issue, so I'll mark this as closed.
Hope that helps!
- 🇧🇪Belgium johanvdr
Indeed, it needs to be in the end using the manage Display (of the field) as a Renderer option.
For now, I will resort to using twig tweak
{{ drupal_entity('site_setting_entity', enitity_id) }}