You are here

commerce_avatax.routing.yml in Drupal Commerce Connector for AvaTax 8

File

commerce_avatax.routing.yml
View source
  1. commerce_avatax.config_settings:
  2. path: '/admin/commerce/config/avatax'
  3. defaults:
  4. _form: 'Drupal\commerce_avatax\Form\ConfigSettingsForm'
  5. _title: 'Commerce AvaTax settings'
  6. requirements:
  7. _permission: 'administer commerce_avatax'
  8. commerce_avatax.address_validator:
  9. path: '/commerce-avatax/address-validator'
  10. defaults:
  11. _controller: 'Drupal\commerce_avatax\Controller\AddressValidator::process'
  12. methods: [POST]
  13. requirements:
  14. _access: 'TRUE'
  15. _format: 'json'
  16. _csrf_token: 'TRUE'