This module prevents menu links from being moved to different menus. Users can only move links if they have a specific permission, otherwise, links remain locked in their original menu.
By default Drupal core allows menu links to be moved from one menu to another by updating the field Parent link.
This module locks menu links into their original menu by altering the Parent link field so that a menu link cannot be moved to another menu, unless the user has the permission move menu links across menus.
Further instructions in README.md.
This module will be deprecated once supported by Drupal core: #3110371: When adding a new menu link, restrict the available parents to the current menu
Ask your assistant about Menu Lock
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
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.0.0-rc3 | Pre-release | 9–10 | Nov 2, 2023 |