You are here

menu_position.routing.yml in Menu Position 8

File

menu_position.routing.yml
View source
  1. entity.menu_position_rule.order_form:
  2. path: '/admin/structure/menu-position'
  3. defaults:
  4. _form: '\Drupal\menu_position\Form\MenuPositionRuleOrderForm'
  5. _title: 'Menu Position Configuration'
  6. requirements:
  7. _permission: 'administer menu positions'
  8. entity.menu_position_rule.add_form:
  9. path: '/admin/structure/menu-position/add'
  10. defaults:
  11. _entity_form: 'menu_position_rule.default'
  12. _title: 'Add Menu Position'
  13. requirements:
  14. _permission: 'administer menu positions'
  15. entity.menu_position_rule.edit_form:
  16. path: '/admin/structure/menu-position/{menu_position_rule}'
  17. defaults:
  18. _entity_form: 'menu_position_rule.default'
  19. _title: 'Edit Menu Position'
  20. requirements:
  21. _permission: 'administer menu positions'
  22. entity.menu_position_rule.delete_form:
  23. path: '/admin/structure/menu-position/{menu_position_rule}/delete'
  24. defaults:
  25. _entity_form: 'menu_position_rule.delete'
  26. _title: 'Delete Menu Position'
  27. requirements:
  28. _permission: 'administer menu positions'
  29. menu_position.settings:
  30. path: '/admin/structure/menu-position/settings'
  31. defaults:
  32. _form: '\Drupal\menu_position\Form\MenuPositionSettings'
  33. _title: 'Settings'
  34. requirements:
  35. _permission: 'administer site configuration'