Supporting patch for "EntityReferenceFieldItemList::referencedEntities should return the translated entity" in core

Created on 11 November 2022, about 2 years ago
Updated 15 February 2024, 10 months ago

Problem/Motivation

In case patch in EntityReferenceFieldItemList::referencedEntities should return the translated entity โ†’ is used, then it leads to an error when using err as follows,
Fatal error: Declaration of Drupal\entity_reference_revisions\EntityReferenceRevisionsFieldItemList::referencedEntities() must be compatible with Drupal\Core\Field\EntityReferenceFieldItemList::referencedEntities(?string $langcode = NULL) in /var/www/html/web/modules/contrib/entity_reference_revisions/src/EntityReferenceRevisionsFieldItemList.php on line 21

Steps to reproduce

Apply patch in - https://www.drupal.org/node/2915972 โ†’
Try to visit a form where ERR fields is used.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

๐Ÿ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

๐Ÿ‡ฉ๐Ÿ‡ชGermany D34dMan Hamburg

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

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