- Issue created by @plopesc
- Merge request !87Issue #3475721: Improve redirect logic for usage links in warning messages → (Open) created by plopesc
- Status changed to Needs review
3 months ago 8:20am 20 September 2024
Warning message helps users to determine where the entity being edited/deleted is being used and gives the opportunity to check it before performing the action.
By default, this link redirects to /admin/content/entity-usage/{entity_type}/{entity_id}
. This is a generic list filtered by the the given entity. However, the entity context is lost for the site administrator.
Given that exists the possibility to add the entity usage local task to certain entity types (/node/{entity_id}/usage
or /taxonomy/term/{taxonomy_term_id}/usage
), would be great to redirect directly to that page instead of the generic view. That would allow editors to maintain the entity context and perform directly other entity related actions.
/admin/content/entity-usage/{entity_type}/{entity_id}
instead of /taxonomy/term/{taxonomy_term_id}/usage
Redirect the user to the generic list page or the local action depending on the Entity Usage settings.
Needs review
2.0
Code