- Issue created by @mohammad-fayoumi
- Status changed to Needs review
12 months ago 4:46pm 4 December 2023 - 🇯🇴Jordan odai jbr
Re-roll for patch #2 to include checking if the referenced entity exists
The current entity reference field rendering in entity_reference_link lacks robust language translation checks, potentially leading to inaccurate results when translation is enabled on the site.
1. Enable language translation on the Drupal site.
2. Create entities with entity reference fields.
3. Observe inconsistencies in rendering when entities have translations.
Enhance the entity reference field rendering by incorporating the getTranslation method for more accurate language translation checks. This improvement aims to provide a streamlined and reliable solution.
- Conduct thorough testing to ensure accurate entity rendering in various language translation scenarios.
- Use dependency injection in the formatter class.
None.
None.
None.
Needs review
1.0
Documentation
Re-roll for patch #2 to include checking if the referenced entity exists