Problem/Motivation

I haven't seen any code that helps handle unpublishing menu links for trashed content like I would expect to see for URL aliases. Is this something that needs to be supported?

Issue fork trash-3575319

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

dave reid created an issue. See original summary.

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

amateescu’s picture

Title: Handling menu links for Trashed content? » Handle menu links for Trashed content
Status: Active » Needs review

Menu links are currently supported if you use Workspaces and the wse_menu module (part of https://www.drupal.org/project/wse), but tbh I'm not sure why I did it that way in the first place.

I was probably thinking that we need the menu tree hierarchy to be revisionable, but maybe that's not actually required? Anyway, if you can give this MR a spin I'd really appreciate it :)

amateescu’s picture

Title: Handle menu links for Trashed content » Support menu links without workspaces

  • amateescu committed 129ef1dd on 3.1.x
    feat: #3575319 Support menu links without workspaces
    
    By: amateescu
    

  • amateescu committed 02eab790 on 3.x
    feat: #3575319 Support menu links without workspaces
    
    By: amateescu
    
amateescu’s picture

Status: Needs review » Fixed

Merged!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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