Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Enhanced Menu Manager

No security coverage Under active development 15 sites

EMM is a modern interface for managing Drupal menus that replaces the default link overview with an interactive tree view. It improves usability for large or complex menus by offering features like drag-and-drop sorting with instant feedback, undo/redo history, snapshots, live filtering, and bulk operations. It also includes an optional AI submodule for automated restructuring and organization.

Enhanced Menu Manager (EMM) shows each menu as a tree that loads one level at a time, so a menu of thousands of links opens as fast as a small one. Drag links to reorder or nest them, find them by title or URL, change many at once, merge duplicates, check link health, import and export, and undo any change step by step. A role can be given one menu, or only some sections of one.

Status: stable, for production use. This page describes 1.1.1; 1.0.0 was the first stable release of the rebuilt module. In 1.0.0-beta1 the tree could not save changes; update from it. On a 5,000-link menu the tree is interactive in about 0.2 seconds; core's own menu form needs 7.5 to 12 seconds on the server alone for the same menu.

Part of the Enhanced Manager Suite

The Enhanced Manager modules each rework one part of Drupal's admin and work on their own: install only the ones you need. Enhanced Manager Suite adds one dashboard that shows which of them are installed and links to each, and status blocks with each one's health.

Features

The tree

  • A Tree view tab and operation on every menu you can manage, and a dashboard at Structure » Enhanced Menu Manager listing every menu you can manage or export.
  • The tree loads the top level only; each branch loads when it is opened, 100 links at a time, so the page costs the same whatever the menu's size.
  • Every link appears, whichever module provides it: links added in the menu, links from modules' *.links.menu.yml files, and Views pages. Links from modules and Views can be moved, enabled and disabled, as on core's menu page, but not renamed or deleted; a module's link opens core's form for it under Edit, and a view's link is edited in the view. Links of any other kind are read-only.
  • Drag links, or move them from the keyboard, then save from the unsaved-changes bar, which puts Discard first and Save last. The save is checked as the tree it will produce: a link cannot go under itself, into another menu, or deeper than Drupal's nine levels. Refused moves are listed with the reason and stay staged; the rest are saved together. If the session's security token has expired, the tree fetches a new one and sends the change again, so staged moves are not lost.
  • Add and Edit open core's own link form in a dialog, so the link field's autocomplete, "Show as expanded" and fields that other modules add all work.
  • Show only the links under one link, with a breadcrumb back. The tree follows the WAI-ARIA tree pattern and can be used from the keyboard alone; on right-to-left sites the left and right arrow keys follow the layout.
  • Errors and warnings stay on the page as messages. If a branch fails to load, a dialog offers Retry and returns you to the link.

Finding and changing links

  • Search by title, by the path or URL a link points to, by the alias a visitor sees, or by link ID, and show any result in the tree.
  • Enable, disable or delete many links at once. Nothing cascades: enabling a link does not enable its parents. Deleting a link moves its children up, as core does, unless the whole branch is chosen. A delete confirmation names the link on both of its buttons.
  • Merge a duplicate link: its children move under the link you keep, and the duplicate is deleted.
  • Normalize weights: renumber every level 0, 1, 2… in the order shown, so nothing moves.

History, undo and snapshots

  • Every change made through EMM is one step in the menu's history. Undo reverses the newest step, and only for links that still look the way that step left them; links changed since, and links made outside EMM, are left alone and listed.
  • A change that can be undone shows Undo on its confirmation for 10 seconds, and Ctrl+Z (Command+Z on a Mac) in the tree undoes the last change.
  • A link that a step deleted comes back with its URL, fields, translations and the same UUID, so the same plugin ID, but a new numeric ID. The links that were under it return to it.
  • Named snapshots keep a whole menu, with every field of every link. Restoring one lists what will change first, and is itself one step that Undo reverses.

Link health and statistics

  • Links to content that was deleted or to a page that no longer exists, links to unpublished content, enabled links that anonymous visitors cannot open, links in the menu that go to the same place, enabled links hidden by a disabled parent, and links deeper than the theme shows.
  • Menu statistics, and a duplicates finder that groups links with the same title or with the same URL.

Import and export

  • Import a pasted list, one link per line, a dash per level, with an optional target after a pipe (- Shoes | /shoes). Every line is checked as core's form would check it, and the import happens completely or not at all, up to 2,000 lines at a time. The links go at the top level, or under the link the tree is focused on with Show only the links under this one.
  • Export the whole menu, or one branch, as CSV, as the same text list, or as JSON with UUIDs and every field.

Delegation

  • Per-menu permissions let a role manage one menu without Administer menus and menu links. EMM also accepts the per-menu permissions of Menu Admin per Menu.
  • Sub-tree delegation limits a role to sections of a menu: the tree opens on the role's section, nothing can be moved into or out of it, and Undo offers only the steps made inside it. This is checked on the server for every request.

Admin theme and accessibility

  • The tree, its dialogs and EMM's forms follow the admin theme: Claro, Default Admin (in core from Drupal 11.4) or Gin, including dark mode, with the theme's own buttons and messages, its type and row density, and a solid focus ring. They keep working in Windows high contrast (forced colors), where icons and expand arrows stay visible, and with reduced motion. The look comes from the Enhanced design language the suite shares; EMM carries its own copy and needs no other module.
  • Dialogs fit a phone's screen without locking the page behind them, and a focused row is never hidden under the unsaved-changes bar.

Drush

  • emm:generate fills a menu with made-up links for testing, and emm:purge deletes the links it made, and nothing else.

Requirements

  • Required: Drupal core ^10.4 || ^11 || ^12 (Drupal 10.4 or later, Drupal 11 or Drupal 12).
  • Required: PHP as your Drupal version requires (8.1 or later for Drupal 10, 8.3 or later for Drupal 11, 8.5 or later for Drupal 12). EMM asks for nothing more.
  • Required: the core Menu UI and Custom Menu Links modules. No contributed modules.
  • Optional: Menu Admin per Menu. Its per-menu permissions (Administer menu menu items) count as EMM: Manage links in menu, so roles already delegated a menu there can use the tree with no new grants.
  • Optional: the core Help module. Shows EMM's help page.
  • Optional: Drush 12.5 or later, for the Drush commands.

Installation

  1. Add the module with Composer. EMM needs no contributed modules, so Composer adds only EMM:
    composer require drupal/emm
  2. Enable it. Drush also enables the core Menu UI and Custom Menu Links modules if they are off:
    drush en enhanced_menu_manager
  3. Grant permissions at People » Permissions:
    • Administer menus and menu links (core): every menu, and EMM's dashboard, settings and delegation page.
    • EMM: Manage links in menu (one per menu, not restricted): the tree of that menu: add, edit, move, enable, disable, delete, merge and undo. Snapshots, restoring them and normalizing weights need the whole menu, not a section.
    • EMM: Export links from menu (not restricted): download the whole menu as CSV, a text list or JSON. It needs no other permission: a role with only this one downloads from the dashboard at Structure » Enhanced Menu Manager, and does not get the tree.
    • EMM: Import links into menu (restricted): import lists into the part of the menu the user manages; it also needs manage access to that menu.
  4. To limit a role to sections of a menu, give it the menu's Manage links permission, then choose its sections on the Sub-tree delegation tab (/admin/config/content/enhanced-menu-manager/delegation).
  5. Open the tree from a menu's Tree view tab, or at /admin/structure/menu/manage/{menu}/tree. The dashboard is at Structure » Enhanced Menu Manager (/admin/structure/emm).
  6. Settings are at Configuration » Content authoring » Enhanced Menu Manager (/admin/config/content/enhanced-menu-manager): links per page, levels to expand when the tree opens, Ask before a drag moves a link under another parent (only dragging asks; the move buttons, keys and Move to… do not), history entries kept per menu, the date format, and the deepest level the theme shows (0 turns that link health check off).
  7. After each later update of the module, run drush updb.

Upgrading

  • From 1.0.x to 1.1.0: no database updates. Clear caches after updating: the libraries changed, and the old css/emm-tokens.css file is gone.
  • From 1.0.0-rc2: run drush updb. Update 10005 marks snapshots converted from beta1 From beta1 in the Snapshots list.
  • From 1.0.0-rc1: run drush updb. Update 10004 marks the history entries kept from beta1 Imported from beta1; rc1 marked them Undone, as if someone had undone them. They stay read-only.
  • From 1.0.0-alpha5 to 1.0.0-beta1: every release from 1.0.0-alpha1 to 1.0.0-beta1 includes the emm_ai submodule, and the release candidates do not. If it is enabled, uninstall it first (drush pmu emm_ai). Then update and run drush updb. The updates remove beta1's automatic snapshots (they restored a whole menu and deleted links made since), keep its history as read-only entries marked Imported from beta1, convert named snapshots, drop the "Enable drag nesting" setting, and remove per-menu permissions of menus that no longer exist. EMM: Import links into menu is now restricted and also needs manage access to the menu.
  • From 1.0.0-alpha4 or earlier: update to 1.0.0-beta1 and run drush updb first, because the release candidates' updates start from beta1's; then follow the step above, emm_ai included.

Similar projects

  • Big Menu keeps core's menu page but loads subtrees on demand, for menus with thousands of links. Choose it if you want core's page to stay usable; EMM is a separate page that adds search, history, snapshots and bulk changes.
  • Menu Admin per Menu lets a role administer some menus and not others on core's pages. EMM accepts its permissions, so the two work together; EMM adds delegation of sections of one menu.
  • Core's menu page is a drag-and-drop table of the same links. EMM does not change how links are stored, so you can use both.

Support and maintenance

Report bugs and ask for features in the issue queue. Each release has notes describing what changed.

This project is not covered by Drupal's security advisory policy. Until it is, security issues are handled in the public issue queue and fixed in ordinary releases.

Maintainer

Created and maintained by deadnorth at Dead North, which also takes on custom Drupal work. If this module saves you time, you can buy me a coffee.

Ask your assistant about Enhanced Menu Manager

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
13
Tracked since
Feb 2026
Latest release
2 days ago
Releases (12 mo)
13 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
1.1.1 Stable Nov 27, 2026
1.1.0 Stable Nov 27, 2026
1.0.0 Stable Nov 27, 2026
1.0.0-rc2 Pre-release Nov 26, 2026
1.0.0-rc1 Pre-release Nov 26, 2026
1.0.0-beta1 Pre-release 10–11 Feb 16, 2026
1.0.0-alpha7 Pre-release 10–11 Feb 16, 2026
1.0.0-alpha6 Pre-release 10–11 Feb 14, 2026
1.0.0-alpha5 Pre-release 10–11 Feb 14, 2026
1.0.0-alpha4 Pre-release 10–11 Feb 14, 2026