Beta phase evaluation
Issue category | Feature because it enables a new possibility: it's necessary for contrib/custom modules to use a different menu as the admin menu in the toolbar, possibly even using a different menu on a per-role basis. |
---|---|
Disruption | Zero disruption. |
Problem/Motivation
Any module can add an item to the toolbar. (So far, the Shortcut, Toolbar, and User modules are the only ones in core that do.) The site builder should be able to decide which ones to include, and how to order them.
Proposed resolution
The Toolbar module should not hardcode the menu to be used; it should be possible for a contrib module to alter which menu is loaded by using hook_toolbar_alter()
.
Remaining tasks
- Re-roll patch 1869638-116.patch
- Test
- Get maintainer approval
User interface changes
None.
API changes
None; only a render array structure change.