Provide a way to extract a menu plugin from a menu form

Created on 25 January 2016, over 9 years ago
Updated 1 August 2025, 5 days ago

Problem/Motivation

For modules like http://drupal.org/project/menu_attributes you need a way to get a plugin ID/plugin from a plugin menu form, so you can update its values.

This allows to write generic submit functions on menu forms, which updates the values of the menu link plugins.

Proposed resolution

  • Add a menu like getMenuLinkInstance to \Drupal\Core\Menu\Form\MenuLinkFormInterface
  • If this isn't possible, add an additional interface, and implement it throughout core?

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Postponed: needs info

Version

11.0 πŸ”₯

Component

menu system

Created by

πŸ‡©πŸ‡ͺGermany dawehner

Live updates comments and jobs are added and updated live.
  • Contributed project blocker

    It denotes an issue that prevents porting of a contributed project to the stable version of Drupal due to missing APIs, regressions, and so on.

  • stale-issue-cleanup

    To track issues in the developing policy for closing stale issues, [Policy, no patch] closing older issues

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.

  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    Thank you for sharing your idea for improving Drupal.

    We are working to decide if this proposal meets the Criteria for evaluating proposed changes. There hasn't been any discussion here for over 8 years which suggests that this has either been implemented or there is no community support. Your thoughts on this will allow a decision to be made.

    Since we need more information to move forward with this issue, the status is now Postponed (maintainer needs more info). If we don't receive additional information to help with the issue, it may be closed after three months.

    Thanks!

Production build 0.71.5 2024