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.
Problem
- menu_enable() creates static menu links for dynamic menu entities.
- These links need to synchronized manually in various spots of the code base and are generally not needed.
Related issue #1882552: Deprecate menu_list_system_menus() and menu_ui_get_menus()
Comment | File | Size | Author |
---|---|---|---|
#1 | menu-item-1.jpg | 10.9 KB | andypost |
Comments
Comment #1
andypostThey are needed to select parent menu link all over core.
Suppose we need deeper refactoring of menu link selection widget - for example:
[select menu] - ajax loads dependent list of it's menu-items
[select menu item]
Comment #2
andypostLooks like there's only few forms to add menu links, so we should just unify this widget to MenuLinkFormController
menu_edit_item() - hopefully gone with #916388: Convert menu links into entities to form controller
menu_form_node_form_alter()
shortcut_link_edit()
Comment #2.0
andypostUpdated issue summary.
Comment #6
andypost