diff --git a/core/modules/menu_ui/menu_ui.links.action.yml b/core/modules/menu_ui/menu_ui.links.action.yml index d2feee0..848bcbe 100644 --- a/core/modules/menu_ui/menu_ui.links.action.yml +++ b/core/modules/menu_ui/menu_ui.links.action.yml @@ -1,5 +1,5 @@ -entity.menu.add_form: - route_name: entity.menu.add_form +entity.menu.add_link_form: + route_name: entity.menu.add_link_form title: 'Add link' class: \Drupal\menu_ui\Plugin\Menu\LocalAction\MenuLinkAdd appears_on: diff --git a/core/modules/menu_ui/menu_ui.routing.yml b/core/modules/menu_ui/menu_ui.routing.yml index 144befd..97fd744 100644 --- a/core/modules/menu_ui/menu_ui.routing.yml +++ b/core/modules/menu_ui/menu_ui.routing.yml @@ -47,7 +47,7 @@ entity.menu.add_form: _entity_create_access: 'menu' entity.menu.edit_form: - path: '/admin/structure/menu/manage/{menuentity.menu.add_link_form}' + path: '/admin/structure/menu/manage/{menu}' defaults: _entity_form: 'menu.edit' _title_callback: '\Drupal\menu_ui\Controller\MenuController::menuTitle'