You are here

uc_cart_links.routing.yml in Ubercart 8.4

uc_cart_links/uc_cart_links.routing.yml

File

uc_cart_links/uc_cart_links.routing.yml
View source
  1. uc_cart_links.settings:
  2. path: '/admin/store/config/cart-links'
  3. defaults:
  4. _form: '\Drupal\uc_cart_links\Form\CartLinksSettingsForm'
  5. _title: 'Cart Links settings'
  6. requirements:
  7. _permission: 'administer cart links'
  8. #
  9. # This route is provided by a View. Listed here for documentation purposes only.
  10. #
  11. #view.uc_cart_links.report:
  12. # path: '/admin/store/reports/cart-links'
  13. # requirements:
  14. # _permission: 'view cart links report'
  15. uc_cart_links.process:
  16. path: '/cart/add/{actions}'
  17. defaults:
  18. _form: '\Drupal\uc_cart_links\Form\CartLinksForm'
  19. requirements:
  20. _permission: 'access content'
  21. actions: '(e-)?(p[1-9][0-9]*(_q[1-9][0-9]*)*(_a[1-9][0-9]*o[a-zA-Z0-9%]+)*(_s)?)+(-m[0-9]+|-i[a-zA-Z0-9]+)*(\?destination=[a-zA-Z0-9/%]+)?'