Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 294800

Make the menu shown in the administration menu tray configurable

$
0
0

Beta phase evaluation

Reference: https://www.drupal.org/core/beta-changes
Issue categoryFeature 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.
DisruptionZero 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

User interface changes

None.

API changes

None; only a render array structure change.


Viewing all articles
Browse latest Browse all 294800

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>