Problem/Motivation
Translation is not deleted when following edit link from admin/content page.
Steps to reproduce
- Enable Content Translation module
- Add additional language
- Set up translation for default 'Basic page' node type (or any else)
- Create a node and add translation for it
- Visit /admin/content page
- Click on edit link for previously added node translation
- Click on "Delete translation" button
Expected result:
- User should be redirected to node delete form (/node/NID/delete)
Actual result:
- User redirected to url that set on 'destination' url query parameter
- Translation isn't removed
Proposed resolution
Convert the button into a link because essentially it does a redirect. This is an approach used by other forms providing Delete operations.
Remaining tasks
Update the change record. Write a change record for a Drupal core issue
User interface changes
API changes
Data model changes
Release notes snippet
Sorry, can't find any mentions for exact behavior, so I created this one