Problem/Motivation
In Drupal 8.5 menu editing has regressed because if you add a menu link from this form you are redirected back to the menu list form. It is very jarring. This is a regression from the 8.4.x behaviour introduced by #2767857: Add destination to edit, delete, enable, disable links in entity list builders.
Steps to reproduce the issue:
- Install standard and login
- Go to
admin/structure/menu
- Click on any edit menu
- Click on add link
- Fill out the add link form and press save
You should be back at the menu with its list of links but actually you're back at the list of menus.
Proposed resolution
Remove the destination as we did in #2940165: [regression] Cannot add effects to image style via the UI
Remaining tasks
Add a test
User interface changes
The destination is removed from the links on admin/structure/menu
API changes
None
Data model changes
None