You are here

uc_quote.routing.yml in Ubercart 8.4

shipping/uc_quote/uc_quote.routing.yml

File

shipping/uc_quote/uc_quote.routing.yml
View source
  1. entity.uc_quote_method.collection:
  2. path: '/admin/store/config/quotes'
  3. defaults:
  4. _entity_list: 'uc_quote_method'
  5. _title: 'Shipping quotes'
  6. requirements:
  7. _permission: 'configure quotes'
  8. entity.uc_quote_method.add_form:
  9. path: '/admin/store/config/quotes/add/{plugin_id}'
  10. defaults:
  11. _controller: '\Drupal\uc_quote\Controller\ShippingQuoteMethodController::addForm'
  12. _title: 'Add shipping method'
  13. requirements:
  14. _permission: 'configure quotes'
  15. entity.uc_quote_method.edit_form:
  16. path: '/admin/store/config/quotes/{uc_quote_method}'
  17. defaults:
  18. _entity_form: 'uc_quote_method.default'
  19. _title: 'Edit shipping method'
  20. requirements:
  21. _permission: 'configure quotes'
  22. entity.uc_quote_method.enable:
  23. path: '/admin/store/config/quotes/{uc_quote_method}/enable'
  24. defaults:
  25. _controller: '\Drupal\uc_quote\Controller\ShippingQuoteMethodController::performOperation'
  26. op: 'enable'
  27. requirements:
  28. _permission: 'configure quotes'
  29. _csrf_token: 'TRUE'
  30. entity.uc_quote_method.disable:
  31. path: '/admin/store/config/quotes/{uc_quote_method}/disable'
  32. defaults:
  33. _controller: '\Drupal\uc_quote\Controller\ShippingQuoteMethodController::performOperation'
  34. op: 'disable'
  35. requirements:
  36. _permission: 'configure quotes'
  37. _csrf_token: 'TRUE'
  38. entity.uc_quote_method.delete_form:
  39. path: '/admin/store/config/quotes/{uc_quote_method}/delete'
  40. defaults:
  41. _entity_form: 'uc_quote_method.delete'
  42. _title: 'Delete shipping method'
  43. requirements:
  44. _permission: 'configure quotes'
  45. uc_quote.settings:
  46. path: '/admin/store/config/quotes/settings'
  47. defaults:
  48. _form: '\Drupal\uc_quote\Form\QuoteSettingsForm'
  49. _title: 'Shipping quote settings'
  50. requirements:
  51. _permission: 'configure quotes'