Hi,
same issue for me. The fix of Chewi3 #3 ๐ Token generation of entity references are not respecting the given langcode Active works fine to solve my problem.
Thx
- Status changed to Needs review
about 1 year ago 3:19am 15 November 2023 - last update
about 1 year ago 77 pass - last update
11 months ago 78 pass - last update
11 months ago 78 pass We noticed that there was an error with Token and Hook event dispatcher module after using #6 patch with core 10.2.1. We reported it originally as an issue to Hook event dispatcher (#3414662), but then debugged it more and noticed that this patch in Token module was causing the following error when running cron or saving media of type remote_video:
Error: Call to undefined method Drupal\Core\Field\BaseFieldDefinition::get() in _field_tokens() (line 1790 of XXX/web/modules/contrib/token/token.tokens.inc)
- Status changed to Needs work
8 months ago 11:50am 13 April 2024 - ๐จ๐ญSwitzerland berdir Switzerland
There's no need for such a long comment, and it should not use get(), it should use getType(), which is a method on FieldDefinitionInterface.
- ๐ฎ๐ณIndia pradhumanjainOSL
pradhumanjain2311 โ made their first commit to this issueโs fork.
- Merge request !71Issue #3281871: Token generation of entity references are not respecting the given langcode โ (Open) created by Unnamed author
- last update
8 months ago 78 pass