flat_menus
15 sites
No security coverage
This module prevents menu items from being nested, enforcing a flat menu structure.
Features
- Per-Menu Configuration: Adds a "Flat menu" checkbox directly to each menu's edit form, for users with the "enable flat menu option" permission
- Form Alterations: Hides parent selection fields in menu link forms for flat menus
- Entity Validation: Automatically moves nested items to top-level when saving
- UI Enhancements: Disables drag-and-drop indentation in menu administration
- User Notifications: Provides clear feedback about flat menu restrictions
The module is essentially a port of the flat_taxonomy module for menus.