Have you ever wanted to create views like

  1. Pages in the “main menu”
  2. 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

  1. Filter nodes by presence in a specific menu.
  2. Works with multiple link types: internal:/node/NID, entity:node/NID, and alias-based links.
  3. 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)
  • Pathauto: helps generate clean aliases that this module will recognize for alias-based menu links.
Short name
node_in_menu
Supporting organizations