Menu Link attributes overrides menu link options provided by other modules

Created on 14 May 2024, 6 months ago

Problem/Motivation

Currently, if we use other contrib modules, that provide menu link options, this module will simply override them.

Steps to reproduce

Install other modules adding menu link options, like the Micon submodule " Micon Menu "
Install Menu Link Attributes
Edit a menu link and add a micon icon (which is attached through menu_link options).
The icon won't apply, as menu_link_attributes overrides the icon option set on the menu link.

Proposed resolution

Instead of overwriting the menu link options, we need to recursively merge them.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Closed: duplicate

Version

1.0

Component

Code

Created by

🇩🇪Germany Grevil

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

Comments & Activities

Production build 0.71.5 2024