You are here

twilio.routing.yml in Twilio 8

File

twilio.routing.yml
View source
  1. twilio.admin_form:
  2. path: /admin/config/system/twilio
  3. defaults:
  4. _title: Twilio
  5. _form: \Drupal\twilio\Form\TwilioAdminForm
  6. requirements:
  7. _permission: 'administer twilio'
  8. twilio.admin_test_form:
  9. path: /admin/config/system/twilio/test
  10. defaults:
  11. _title: 'Send Test SMS message'
  12. _form: \Drupal\twilio\Form\TwilioAdminTestForm
  13. requirements:
  14. _permission: 'administer twilio'
  15. twilio.receive_message:
  16. path: /twilio/sms
  17. defaults:
  18. _controller: '\Drupal\twilio\Controller\TwilioController::receiveMessage'
  19. requirements:
  20. _access: 'true'
  21. twilio.receive_voice:
  22. path: /twilio/voice
  23. defaults:
  24. _controller: '\Drupal\twilio\Controller\TwilioController::receiveVoice'
  25. requirements:
  26. _access: 'true'