menu_ui.routing.yml

Same filename in other branches
  1. 9 core/modules/menu_ui/menu_ui.routing.yml
  2. 10 core/modules/menu_ui/menu_ui.routing.yml
  3. 11.x core/modules/menu_ui/menu_ui.routing.yml
core/modules/menu_ui/menu_ui.routing.yml
8 string references to YAML keys in menu_ui.routing.yml
MenuDeleteForm::submitForm in core/modules/menu_ui/src/Form/MenuDeleteForm.php
MenuForm::buildOverviewTreeForm in core/modules/menu_ui/src/MenuForm.php
Recursive helper function for buildOverviewForm().
MenuLinkContentDeleteForm::getCancelUrl in core/modules/menu_link_content/src/Form/MenuLinkContentDeleteForm.php
Returns the route to go to if the user cancels the action.
MenuLinkEditForm::submitForm in core/modules/menu_ui/src/Form/MenuLinkEditForm.php
Form submission handler.
MenuLinkResetForm::getCancelUrl in core/modules/menu_ui/src/Form/MenuLinkResetForm.php
Returns the route to go to if the user cancels the action.

... See full list

File

core/modules/menu_ui/menu_ui.routing.yml

View source
  1. entity.menu.collection:
  2. path: '/admin/structure/menu'
  3. defaults:
  4. _entity_list: 'menu'
  5. _title: 'Menus'
  6. requirements:
  7. _permission: 'administer menu'
  8. menu_ui.parent_options_js:
  9. path: '/admin/structure/menu/parents'
  10. defaults:
  11. _controller: '\Drupal\menu_ui\Controller\MenuController::getParentOptions'
  12. requirements:
  13. _permission: 'administer menu'
  14. menu_ui.link_edit:
  15. path: '/admin/structure/menu/link/{menu_link_plugin}/edit'
  16. defaults:
  17. _form: '\Drupal\menu_ui\Form\MenuLinkEditForm'
  18. _title: 'Edit menu link'
  19. options:
  20. parameters:
  21. menu_link_plugin:
  22. type: menu_link_plugin
  23. requirements:
  24. _permission: 'administer menu'
  25. menu_ui.link_reset:
  26. path: '/admin/structure/menu/link/{menu_link_plugin}/reset'
  27. defaults:
  28. _form: '\Drupal\menu_ui\Form\MenuLinkResetForm'
  29. _title: 'Reset menu link'
  30. options:
  31. parameters:
  32. menu_link_plugin:
  33. type: menu_link_plugin
  34. requirements:
  35. _permission: 'administer menu'
  36. _custom_access: '\Drupal\menu_ui\Form\MenuLinkResetForm::linkIsResettable'
  37. entity.menu.add_form:
  38. path: '/admin/structure/menu/add'
  39. defaults:
  40. _entity_form: 'menu.add'
  41. _title: 'Add menu'
  42. requirements:
  43. _entity_create_access: 'menu'
  44. entity.menu.edit_form:
  45. path: '/admin/structure/menu/manage/{menu}'
  46. defaults:
  47. _entity_form: 'menu.edit'
  48. _title_callback: '\Drupal\menu_ui\Controller\MenuController::menuTitle'
  49. requirements:
  50. _entity_access: 'menu.update'
  51. entity.menu.delete_form:
  52. path: '/admin/structure/menu/manage/{menu}/delete'
  53. defaults:
  54. _entity_form: 'menu.delete'
  55. _title: 'Delete menu'
  56. requirements:
  57. _entity_access: 'menu.delete'

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.