- Issue created by @lobodacyril
- πΊπ¦Ukraine lobodacyril
My suggestion to solve this issue in the patch. It solves only issue for the drupal_entity and I suppose we will have the same issue for drupal_entity_form and maybe for other functions.
- Status changed to Needs work
12 months ago 12:59pm 1 December 2023 - πΊπΈUnited States kevinquillen
This is correct. I was trying to use drupal_entity in a scenario where Paragraphs were rendering media inside of Layout Builder. Adding a new Paragraph reference and using {{ drupal_entity('paragraph', paragraph.id() }} was resulting in no entity being returned from that function. If I did the core {{ content.field_name }} instead, everything rendered correctly.
The render builder should match what core does. The expectation is that the behavior is exactly the same.
-
Chi β
committed 4111163f on 3.x authored by
lobodacyril β
Issue #3405514 by lobodacyril, kevinquillen: drupal_entity works...
-
Chi β
committed 4111163f on 3.x authored by
lobodacyril β
- Status changed to Fixed
11 months ago 6:02am 6 January 2024 - π·πΊRussia Chi
For EntityFormViewBuilder we have to add a $langcode parameter which would be a BC break. I postpone this change till the next major TT release.
Automatically closed - issue fixed for 2 weeks with no activity.