Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Follow up: #1945226: Add language selector on menus
Updated: Comment #0
Problem/Motivation
In D7 and also now, custom menus (menus made in the UI), are forced to have menu- prefixed to the machine name that the person using the UI is choosing for the machine name. This is strange and frustrating.
Proposed resolution
Remove the forced menu-prefix
Remaining tasks
- Find out why the prefix was added in the first place. (the comment is "to avoid name clashes".. but avoid clashes with what? wont there be an error if the machine name clashes anyway?) Is it helpful to be able to identify, by machine name, which menus are made in code, or via the UI?
- Discuss reproductions of removing the menu- prefix
User interface changes
No.
API changes
No.
Comments
Comment #12
poker10 CreditAttribution: poker10 at ActivIT s.r.o. commentedThis is no longer relevant for D9, as the menu prefix was removed in: #2084197: Uninstalling menu module removes all custom menus
I see a very little chance to remove this in D7 in this stage, so closing this. Feel free to reopen if you would like to address this to D7 anyway.