You are here

uc_country.routing.yml in Ubercart 8.4

uc_country/uc_country.routing.yml

File

uc_country/uc_country.routing.yml
View source
  1. entity.uc_country.collection:
  2. path: '/admin/store/config/country'
  3. defaults:
  4. _entity_list: 'uc_country'
  5. _title: 'Country settings'
  6. requirements:
  7. _permission: 'administer countries'
  8. entity.uc_country.edit_form:
  9. path: '/admin/store/config/country/{uc_country}/edit'
  10. defaults:
  11. _entity_form: 'uc_country.edit'
  12. _title: 'Edit country address format'
  13. requirements:
  14. _permission: 'administer countries'
  15. entity.uc_country.enable:
  16. path: '/admin/store/config/country/{uc_country}/enable'
  17. defaults:
  18. _controller: '\Drupal\uc_country\Controller\CountryController::enableConfig'
  19. _title: 'Enable country'
  20. requirements:
  21. _permission: 'administer countries'
  22. _csrf_token: 'TRUE'
  23. entity.uc_country.disable:
  24. path: '/admin/store/config/country/{uc_country}/disable'
  25. defaults:
  26. _controller: '\Drupal\uc_country\Controller\CountryController::disableConfig'
  27. _title: 'Disable country'
  28. requirements:
  29. _permission: 'administer countries'
  30. _csrf_token: 'TRUE'