Mega Menu Manager
Builds complex menus with Menu Item Extras, but need clearer rules for which fields belong on which nesting level—and badges that editors can see while managing the menu? Mega Menu Manager adds that admin layer without inventing a new menu system.
You define one or more configurations (menus + badges + a per-level field matrix). Editors get badge chips on the menu overview; themes can read the same badge data for the front end.
Features
- Configurations under Structure → Mega Menu Manager: each owns menus, badges, and per-level field rules. A menu can belong to only one configuration.
- Badges — built-in (e.g. level / expanded) and field-based; colors and labels are configurable.
- Per-level field matrix — allow or deny Menu Item Extras fields at each nesting depth (0 = top level). Disallowed values can be cleared on save.
- Admin menu overview — live badge chips next to link titles, including feedback while dragging links.
- Theme API —
hook_preprocess_menu()exposesitem.mega_menu_manageras a list of{ id, label, source }for rendering badges in the theme.
When to use it: megamenus or multi-level site nav where deeper levels should not use the same fields as top-level items, and editors need a quick visual of status/tags while editing menus.
Post-Installation
- Enable Menu Item Extras and Mega Menu Manager.
- Go to Structure → Mega Menu Manager (
/admin/structure/mega-menu-manager). - Add a configuration: pick menus, define badges, set the per-level field matrix.
- Open Structure → Menus for an assigned menu — badges appear next to link titles on the overview.
- Optionally use
item.mega_menu_managerin your theme’s menu templates for front-end badges.
Configuration is exportable as mega_menu_manager.settings.
Additional Requirements
- Drupal 11.3+
- Menu Item Extras
Recommended modules/libraries
- Menu Item Extras — required dependency; provides the menu-link fields this module governs.
- Admin themes such as Gin — best experience for the configuration UI (toggles, overview).
Similar projects
Menu Item Extras adds fields to menu links but does not provide a per-level allow/deny matrix or configurable admin/front badges. Mega Menu Manager sits on top of it as an administration and display helper, not a replacement megamenu renderer. Dedicated megamenu modules focus on front-end layout widgets; this one focuses on editorial rules and badges for MIE-based menus.
Supporting this Module
Please use the issue queue for bugs and feature requests.
Community Documentation
See the module README in the repository. Further guides or demos can be linked here later.