Problem/Motivation
Entity form complex widget is not rendering the entity label in proper language. It should consider page language fallbacks.
Proposed resolution
getEntityLabel method should use getTranslationFromContext to render label in proper language.
see: https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Entity%21...
| Comment | File | Size | Author |
|---|---|---|---|
| #22 | 3306743-22.patch | 7.44 KB | michaelsoetaert |
Issue fork inline_entity_form-3306743
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
gaurav_manerkar commentedComment #3
gaurav_manerkar commentedComment #4
gaurav_manerkar commentedComment #5
gaurav_manerkar commentedComment #8
dmitry.korhovattaching patch from MR
Comment #9
dmitry.korhovUpdated patch according to latest changes (previous one was not applicable during composer install routine)
Comment #13
gaurav_manerkar commentedComment #14
gaurav_manerkar commentedComment #16
gaurav_manerkar commentedComment #18
gaurav_manerkar commentedComment #19
gaurav_manerkar commentedComment #20
dmitry.korhovComment #21
michaelsoetaertRe-rolled patch against
3.xbranch.Comment #22
michaelsoetaertPatch in comment #21 was re-rolled successfully, but depended on other code that has since been removed. The updated patch includes the code it was depending on.