Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 300822

Entity Reference wrong language display if layoutbuilder is enable

$
0
0

Simulation

1) Enable Translation Content Add two Language (Ro, EN)
2) Enable Layout Builder
3) Enable Paragraph ( can use Content Type reference )
4) Add Paragraph Type > Body > with field textfield with translation enable.
5) Add to Content Type Article field Paragrath ( without enable "Users may translate this field" because paragrath have inside translation )
6) Enable Layout Builder on Content Type Article
7) Add node type Article with two language
8) Change language, we see that that second language show original language on paragraph field.

Solution:

EntityViewBuilder::viewField() does not respect entity current language when used with an entity reference field


Viewing all articles
Browse latest Browse all 300822

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>