Node in Menu provides a Views filter allowing you to display content nodes based on whether or not they are linked in a specific menu. This helps create listings of pages that are in, or not in, any menu.
Have you ever wanted to create views like
- Pages in the “main menu”
- Orphaned pages (pages not in any menu)
Node in Menu adds a Views filter for content listings so you can show only nodes that are (not) linked in a selected menu. It matches direct node links, entity links, and alias-based links, and respects link status.
Features
- Filter nodes by presence in a specific menu.
- Works with multiple link types: internal:/node/NID, entity:node/NID, and alias-based links.
- Respects link status (only includes enabled menu links).
Post-Installation
- Enable the module.
- Create or edit a node-based View (Content).
- Add a Filter criterion and search for “In menu”.
- Select the target menu (e.g., Main navigation) and save the View.
Additional Requirements
- Drupal core 10.x or 11.x
- Core modules: Views, Menu Link Content, Path (and Path Alias, enabled by Path)
Recommended modules/libraries
- Pathauto: helps generate clean aliases that this module will recognize for alias-based menu links.
Ask your assistant about Node in Menu
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
- menu_link_content Drupal core
- path Drupal core
- views Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.