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: Get rid of menu_list_system_menus()

Files: 
CommentFileSizeAuthor
#1 menu-item-1.jpg10.9 KBandypost

Comments

andypost’s picture

FileSize
10.9 KB

They are needed to select parent menu link all over core.
menu-item-1.jpg

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]

andypost’s picture

Looks 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()

andypost’s picture

Issue summary: View changes

Updated issue summary.

Version: 8.0.x-dev » 8.1.x-dev

Drupal 8.0.6 was released on April 6 and is the final bugfix release for the Drupal 8.0.x series. Drupal 8.0.x will not receive any further development aside from security fixes. Drupal 8.1.0-rc1 is now available and sites should prepare to update to 8.1.0.

Bug reports should be targeted against the 8.1.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.2.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.1.x-dev » 8.2.x-dev

Drupal 8.1.9 was released on September 7 and is the final bugfix release for the Drupal 8.1.x series. Drupal 8.1.x will not receive any further development aside from security fixes. Drupal 8.2.0-rc1 is now available and sites should prepare to upgrade to 8.2.0.

Bug reports should be targeted against the 8.2.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.3.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.