Keep MenuTreeStorage field definition in sync with MenuLinkManager

Created on 12 July 2014, almost 10 years ago
Updated 21 February 2023, over 1 year ago

Problem/Motivation

While going through comment #6 in #2301239: MenuLinkNG part1 (no UI or conversions): plugins (static + MenuLinkContent) + MenuLinkManager + MenuTreeStorage → reviewing @todos in MenuTreeStorage.php and MenuLinkManager notice the definition of fields need to be in sync.

Proposed resolution

Perhaps use a new method to keep them in sync, or use array_keys

Remaining tasks

  • Use appropriate keys for field definitions in MenuTreeStorage and avoid duplication

User interface changes

No

API changes

No, but an addition might be required

📌 Task
Status

Fixed

Version

10.1 ✨

Component
Menu system  →

Last updated 4 days ago

Created by

🇺🇸United States victoru

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

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