You are here

drd_agent.routing.yml in DRD Agent 4.0.x

Same filename and directory in other branches
  1. 8.3 drd_agent.routing.yml

File

drd_agent.routing.yml
View source
  1. # drd_agent module routing definition
  2. drd_agent.settings.form:
  3. path: '/admin/config/system/drd'
  4. defaults:
  5. _form: '\Drupal\drd_agent\Form\Settings'
  6. _title: 'DRD Agent'
  7. requirements:
  8. _permission: 'administer site configuration'
  9. options:
  10. _admin_route: TRUE
  11. drd_agent.default:
  12. path: '/drd-agent'
  13. defaults:
  14. _controller: '\Drupal\drd_agent\Controller\Agent::get'
  15. _disable_route_normalizer: TRUE
  16. requirements:
  17. _access: 'TRUE'
  18. options:
  19. _maintenance_access: TRUE
  20. drd_agent.crypt:
  21. path: '/drd-agent-crypt'
  22. defaults:
  23. _controller: '\Drupal\drd_agent\Controller\Agent::getCryptMethods'
  24. _disable_route_normalizer: TRUE
  25. requirements:
  26. _access: 'TRUE'
  27. options:
  28. _maintenance_access: TRUE
  29. drd_agent.authorize.secret:
  30. path: '/drd-agent-authorize-secret'
  31. defaults:
  32. _controller: '\Drupal\drd_agent\Controller\Agent::authorizeBySecret'
  33. requirements:
  34. _access: 'TRUE'
  35. options:
  36. _maintenance_access: TRUE
  37. drd_agent.authorize.form:
  38. path: '/drd-agent-authorize'
  39. defaults:
  40. _form: '\Drupal\drd_agent\Form\Authorize'
  41. _title: 'Authorize Dashboard'
  42. requirements:
  43. _permission: 'administer site configuration'
  44. options:
  45. _admin_route: TRUE