Flat menus
31 sites
No security coverage
This module enforces a flat menu structure by preventing nested menu items. It provides configuration options per menu, hides parent selection fields, and automatically moves any nested items to the top level.
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.