Token replacement stops working when drupal_entity used

Created on 2 October 2022, about 2 years ago
Updated 26 February 2023, over 1 year ago

Problem/Motivation

Token replacement not working if drupal_entity used over field with token.

Steps to reproduce

1. Use [node:title] in body field
2. Place {{ drupal_entity('node', NID, 'default') }} OVER {{ content.body }} in twig template
3. token is not replaced

ps. token replaced if drupal_entity placed UNDER body field.

🐛 Bug report
Status

Closed: cannot reproduce

Version

2.9

Component

Miscellaneous

Created by

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