You are here

mollie_payment.routing.yml in Mollie Payment 8.2

File

mollie_payment.routing.yml
View source
  1. mollie_payment.admin:
  2. path: '/admin/config/services/payment/mollie'
  3. defaults:
  4. _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
  5. _title: 'Mollie Payment'
  6. requirements:
  7. _permission: 'administer mollie payment'
  8. entity.mollie_profile.collection:
  9. path: '/admin/config/services/payment/mollie/profiles'
  10. defaults:
  11. _entity_list: 'mollie_profile'
  12. _title: 'Mollie profiles'
  13. requirements:
  14. _permission: 'administer mollie payment'
  15. mollie_payment.mollie_profile.add:
  16. path: '/admin/config/services/payment/mollie/profiles/add'
  17. defaults:
  18. _entity_form: 'mollie_profile.default'
  19. _title: 'Add a Mollie profile'
  20. requirements:
  21. _permission: 'administer mollie payment'
  22. entity.mollie_profile.edit_form:
  23. path: '/admin/config/services/payment/mollie/profiles/edit/{mollie_profile}'
  24. defaults:
  25. _entity_form: 'mollie_profile.default'
  26. _title: 'Edit a Mollie profile'
  27. requirements:
  28. _entity_access: 'mollie_profile.update'
  29. entity.mollie_profile.delete_form:
  30. path: '/admin/config/services/payment/mollie/profiles/delete/{mollie_profile}'
  31. defaults:
  32. _entity_form: 'mollie_profile.delete'
  33. requirements:
  34. _entity_access: 'mollie_profile.delete'
  35. mollie_payment.redirect:
  36. path: '/mollie-payment/redirect/{payment}'
  37. defaults:
  38. _controller: 'Drupal\mollie_payment\Controller\Redirect::execute'
  39. _title: 'Mollie Payment Redirect'
  40. requirements:
  41. _permission: 'access content'
  42. mollie_payment.webhook:
  43. path: '/mollie-payment/webhook/{payment}'
  44. defaults:
  45. _controller: 'Drupal\mollie_payment\Controller\Webhook::execute'
  46. _title: 'Mollie Payment Webhook'
  47. requirements:
  48. _permission: 'access content'