menu_link_content.routing.yml

Same filename in other branches
  1. 9 core/modules/menu_link_content/menu_link_content.routing.yml
  2. 8.9.x core/modules/menu_link_content/menu_link_content.routing.yml
  3. 10 core/modules/menu_link_content/menu_link_content.routing.yml
core/modules/menu_link_content/menu_link_content.routing.yml
1 string reference to YAML keys in menu_link_content.routing.yml
MenuForm::buildOverviewTreeForm in core/modules/menu_ui/src/MenuForm.php
Recursive helper function for buildOverviewForm().

File

core/modules/menu_link_content/menu_link_content.routing.yml

View source
  1. entity.menu.add_link_form:
  2. path: '/admin/structure/menu/manage/{menu}/add'
  3. defaults:
  4. _controller: '\Drupal\menu_link_content\Controller\MenuController::addLink'
  5. _title: 'Add menu link'
  6. requirements:
  7. _entity_create_access: 'menu_link_content'
  8. entity.menu_link_content.canonical:
  9. path: '/admin/structure/menu/item/{menu_link_content}/edit'
  10. defaults:
  11. _entity_form: 'menu_link_content.default'
  12. _title: 'Edit menu link'
  13. requirements:
  14. _entity_access: 'menu_link_content.update'
  15. entity.menu_link_content.edit_form:
  16. path: '/admin/structure/menu/item/{menu_link_content}/edit'
  17. defaults:
  18. _entity_form: 'menu_link_content.default'
  19. _title: 'Edit menu link'
  20. requirements:
  21. _entity_access: 'menu_link_content.update'
  22. entity.menu_link_content.delete_form:
  23. path: '/admin/structure/menu/item/{menu_link_content}/delete'
  24. defaults:
  25. _entity_form: 'menu_link_content.delete'
  26. _title: 'Delete menu link'
  27. requirements:
  28. _entity_access: 'menu_link_content.delete'

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