It'd be handy to provide a list of section user edit link on the menu page.
Problem/Motivation
This feature comes out of some client requirements.
Provide an easy way for editors to see which sections entities belong to, and manage them from a high-level overview/dashboard.
WBA doesnt necessarily have a good way of knowing the rough structure of a website. Though site builders utilising WBA would typically have enforced menu or taxonomy rules.
The menu page, although not fully comprehensive of a sites hierarchy, can possibly have decent coverage of a sites page and navigation structure.
Proposed resolution
We can augment the menu list overview page by adding a list of sections each entity related to a menu item is a part of. This way it is one-click away from modifying the users in the section.
It should work with any entity type, regardless of canonical route path or id style.
Remaining tasks
Maintainer questions and opinions
- Is this useful for WBA itself, or should it be a contrib project?
- Is the feature useful? Would sites using WBA find this useful?
- If the feature comprehensive? Are user links enough, or should there also be an option for roles? Or perhaps a switch for one or the other or both on a global config level?
User interface changes
Changes to core menu UI menu edit form at
/admin/structure/menu/manage/{menu}
available by navigating from Structure -> Menus when menu_ui is enabled. If the module is not enabled, the changes do not activate. These changes are a soft/optional dependency.
API changes
New classes and services.
Uses a service pattern w/ autowring instead of legacy classResolver pattern.
Data model changes
Nil.