You are here

image_captcha.routing.yml in CAPTCHA 8

image_captcha/image_captcha.routing.yml

File

image_captcha/image_captcha.routing.yml
View source
  1. image_captcha.settings:
  2. path: '/admin/config/people/captcha/image_captcha'
  3. defaults:
  4. _form: '\Drupal\image_captcha\Form\ImageCaptchaSettingsForm'
  5. requirements:
  6. _permission: 'administer CAPTCHA settings'
  7. image_captcha.font_preview:
  8. path: '/admin/config/people/captcha/image_captcha/font_preview/{token}'
  9. defaults:
  10. _controller: '\Drupal\image_captcha\Controller\CaptchaFontPreviewController::getFont'
  11. requirements:
  12. _permission: 'administer CAPTCHA settings'
  13. image_captcha.generator:
  14. path: '/image-captcha-generate/{session_id}/{timestamp}'
  15. defaults:
  16. _controller: '\Drupal\image_captcha\Controller\CaptchaImageGeneratorController::image'
  17. requirements:
  18. _access: 'TRUE'
  19. image_captcha.refresh:
  20. path: '/image-captcha-refresh/{form_id}'
  21. defaults:
  22. _controller: '\Drupal\image_captcha\Controller\CaptchaImageRefresh::refreshCaptcha'
  23. requirements:
  24. _access: 'TRUE'