Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
In Drupal 8.6, we want to make custom menu links usable with the Workspace module, which means they need to be revisionable and publishable. This issue has been split from #2880152: Convert custom menu links to be revisionable, and it handles only the publishable part.
Proposed resolution
Promote the existing enabled
field to be the published
entity key.
Remaining tasks
Review.
User interface changes
Nope.
API changes
Nope.
Data model changes
Nope.
Comment | File | Size | Author |
---|---|---|---|
#8 | 2981915-8-followup.patch | 782 bytes | amateescu |
#4 | interdiff-4.txt | 1.39 KB | amateescu |
#4 | 2981915-4.patch | 7.78 KB | amateescu |
#2 | 2981915.patch | 7.81 KB | amateescu |
Comments
Comment #2
amateescu CreditAttribution: amateescu for Pfizer, Inc. commentedPatch split from #2880152: Convert custom menu links to be revisionable :)
Comment #3
timmillwoodOnly one minor nit pick.
We're only adding the published entity key, not the revisionable metadata.
Comment #4
amateescu CreditAttribution: amateescu for Pfizer, Inc. commentedOops, good catch :)
Comment #5
timmillwoodThanks, @amateescu, looks good to me now.
Should we port all credit back from #2880152: Convert custom menu links to be revisionable?
Comment #7
catchCommitted e2651fc and pushed to 8.6.x. Thanks!
Comment #8
amateescu CreditAttribution: amateescu for Pfizer, Inc. commentedIt seems that I forgot a local debugging thingie in the patch, and also a typo :/
Comment #9
catch