Problem/Motivation

The goal here is to make menu trees workspace specific, i.e. allowing different versions of menu trees in different workspaces via the menu form. This is currently not possible, see also the issue here: #3040258: Menu link content changes are not visible on non-live workspaces

Proposed resolution

Build a menu tree storage dealing with just only menu_link_content entities, which support revisions. The menu tree can then be calculated based on those entities only as they provide a weight and a parent inside the tree. Altering of the core menu form and some other menu related services like the MenuLinkTree and MenuLinkTreeManipulator will be required as well.

Remaining tasks

  • Support parameters in custom tree storage
  • Code cleanup
  • Address reviews

Issue fork wse-3300898

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

s_leu created an issue. See original summary.

s_leu’s picture

Issue summary: View changes
s_leu’s picture

Status: Active » Needs review

amateescu made their first commit to this issue’s fork.

  • amateescu committed b6b286b9 on 1.0.x
    Issue #3300898: Support workspace specific menus
    

amateescu’s picture

Finally merged this! Leaving the issue open for some cleanup that still needs to happen :)

amateescu’s picture

Status: Needs review » Fixed

That cleanup happened a while ago.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.