Disabled children menu items not exported

Created on 26 September 2024, about 2 months ago

System information

  • Drupal Core Version: +10
  • Menu Migration Version: 4.0.0-beta1
  • PHP Version: +8.2

Problem/Motivation

As title says, if the the children menu items are disabled, they are not exported.
And sometimes they need to be disabled, to be sure they are not part of display, but part of the hierarchy, that could be used for other purposes - like: Breadcrumbs structure (Menu Breadcrumb)

Steps to reproduce

Build a Menu Hierarchy with disabled childred and make the export.

Proposed resolution

Update the Menu tree processor for export, to have all the (children) menu items, even they are disabled.
Compare with Menu UI Menu form for OverviewTreeForm there.

🐛 Bug report
Status

Active

Version

4.0

Component

Code

Created by

🇷🇴Romania vasike Ramnicu Valcea

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