Add menu_link_content support into views

Created on 2 August 2016, over 8 years ago
Updated 7 March 2024, 10 months ago

Problem/Motivation

Now that menu links are content entities, it would be nice if we could work with them in views, and perform the same kind of operations with them that are available for taxonomy terms and term references, so we can do things such as:

In Drupal 7, this might have involved using the Taxonomy Menu or Menu to Taxonomy modules (synchronizing a vocabulary to a menu, and any menu links to the relevant term references), but in Drupal 8 this should no longer be necessary.

Some work was also done in the Menu Node Views β†’ module (which is used on 7000+ sites, so there seems to be at least some demand for this).

Proposed resolution

Allow for menu link content entities to work with views, including filters and relationships linking them to nodes.

Remaining tasks

Decide whether we want this
Further clarify the kind of functionality related to menu links we want
Write patch
Review

User interface changes

N/A

API changes

N/A

Data model changes

N/A

✨ Feature request
Status

Needs work

Version

11.0 πŸ”₯

Component
ViewsΒ  β†’

Last updated 2 days ago

Created by

πŸ‡³πŸ‡±Netherlands stefan.r

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Merge Requests

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.71.5 2024