Menu swap with toolbar.settings admin_tray.menu_name

Created on 20 December 2020, over 3 years ago
Updated 15 April 2023, about 1 year ago

Problem/Motivation

See core issue: #1869638: Make the menu shown in the administration menu tray configurable β†’

The patch in that issue adds a new admin_tray.menu_name variable in toolbar.settings config, for configuring which menu gets used in the toolbar administration tray.

Proposed resolution

The core patch makes a change to ToolbarController::preRenderAdministrationTray() to use a new admin_tray.menu_name variable in toolbar.settings config. With this variable and the Drupal configuration override functionality the amswap module codebase would be much more cleaner, and more compatible with other modules and themes.

User interface changes

none

API changes

The menu pre render call is removed.
Configuration override is used to replace the menu.

Data model changes

none

πŸ“Œ Task
Status

Postponed

Version

3.2

Component

Code

Created by

πŸ‡­πŸ‡ΊHungary Pasqualle πŸ‡­πŸ‡Ί Budapest

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024