Fix incompatibility with Menu Select module

Created on 23 May 2025, 3 months ago

Problem/Motivation

We use this module in combination with Menu Select to provide an alternate UX due to the deep nesting of some of our menus. We found them to be slightly incompatible, but a small patch was able to remedy the issue.

Steps to reproduce

  1. Install both Menu Select and Menu Item Extras
  2. Set up some menus, at least one with Menu Item Extras
  3. Configure your menu select widget to use Menu Select

Our main observation was that the parent menu item selector disappeared and the tool became unusable.

Proposed resolution

The patch I'll provide updates menu_item_extras_form_menu_link_content_form_alter, and checks whether the menu in question is managed by Menu Item Extras before unsetting anything in $form['menu_parent']['#options'].

Remaining tasks

  1. Provide patch
  2. Probably write some tests

User interface changes

Menu item edit page should be compatible with Menu Select if used together.

API changes

None.

Data model changes

None.

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇦🇺Australia geoffreyr Sydney, AU / Gadigal country

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024