- Issue created by @unstatu
- Merge request !39Issue #3523352 - Used the translated entity when generating the edit link → (Open) created by unstatu
There is a "edit" link in the table where all the items belonging to an entity subqueue are listed. This link always points to the edit form of the entity in the original entity language. Is not taking into account the interface language as it does with the title, for example.
- Have a Drupal site with EN and ES languages enabled
- Have a Entity queue accepting page nodes and multiple subqueues.
- Create an entity subqueue of entity queue type just created
- Create a page in English
- Translate the page to Spanish
- Add the page to the entity subqueue just created
- Go to the entity subqueue canonical page in /en/admin/structure/entityqueue/ENTITY_QUEUE_TYPE/ENTITY_SUBQUEUE_ID
- Check that the page title is rendered in English and the Edit link points to the English node edit form
- Now browse to /es/admin/structure/entityqueue/ENTITY_QUEUE_TYPE/ENTITY_SUBQUEUE_ID
- Check that the page title is rendered in Spanish but the Edit link still pointing to the English node edit form
Use the translated entity when the edit link is generated.
Active
1.0
Code