You are here

uc_store.routing.yml in Ubercart 8.4

uc_store/uc_store.routing.yml

File

uc_store/uc_store.routing.yml
View source
  1. uc_store.admin:
  2. path: '/admin/store'
  3. defaults:
  4. _controller: '\Drupal\uc_store\Controller\StoreController::overview'
  5. _title: 'Store'
  6. requirements:
  7. _permission: 'access administration pages'
  8. uc_store.reports:
  9. path: '/admin/store/reports'
  10. defaults:
  11. _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
  12. _title: 'Reports'
  13. requirements:
  14. _permission: 'view reports'
  15. uc_store.config:
  16. path: '/admin/store/config'
  17. defaults:
  18. _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
  19. _title: 'Configuration'
  20. requirements:
  21. _permission: 'administer store'
  22. uc_store.config_form:
  23. path: '/admin/store/config/store'
  24. defaults:
  25. _form: '\Drupal\uc_store\Form\StoreSettingsForm'
  26. _title: 'Store'
  27. requirements:
  28. _permission: 'administer store'
  29. uc_store.address_fields:
  30. path: '/admin/store/config/store/fields'
  31. defaults:
  32. _form: '\Drupal\uc_store\Form\AddressFieldsForm'
  33. _title: 'Address fields'
  34. requirements:
  35. _permission: 'administer store'