node_in_menu
16 sites
Security covered
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.