You are here

cleantalk.routing.yml in Anti Spam by CleanTalk 8.3

File

cleantalk.routing.yml
View source
  1. cleantalk.admin:
  2. path: '/admin/config/cleantalk'
  3. defaults:
  4. _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
  5. _title: 'Antispam by Cleantalk'
  6. requirements:
  7. _permission: 'administer site configuration'
  8. cleantalk.settings:
  9. path: '/admin/config/cleantalk/cleantalk_settings_form'
  10. defaults:
  11. _form: '\Drupal\cleantalk\Form\CleantalkSettingsForm'
  12. _title: 'Settings'
  13. requirements:
  14. _permission: 'administer site configuration'
  15. options:
  16. _admin_route: TRUE
  17. cleantalk.check_users:
  18. path: '/admin/config/cleantalk/cleantalk_check_users_form'
  19. defaults:
  20. _form: '\Drupal\cleantalk\Form\CleantalkCheckUsersForm'
  21. _title: 'Check spam users'
  22. requirements:
  23. _permission: 'administer site configuration'
  24. options:
  25. _admin_route: TRUE
  26. cleantalk.check_comments:
  27. path: '/admin/config/cleantalk/cleantalk_check_comments_form'
  28. defaults:
  29. _form: '\Drupal\cleantalk\Form\CleantalkCheckCommentsForm'
  30. _title: 'Check spam comments'
  31. requirements:
  32. _permission: 'administer site configuration'
  33. options:
  34. _admin_route: TRUE