You are here

spambot.routing.yml in Spambot 8

File

spambot.routing.yml
View source
  1. spambot.settings_form:
  2. path: '/admin/config/system/spambot'
  3. defaults:
  4. _title: Spambot
  5. _form: '\Drupal\spambot\Form\SpambotSettingsForm'
  6. requirements:
  7. _permission: 'administer site configuration'
  8. spambot.user_spam:
  9. path: '/user/{user}/spambot'
  10. defaults:
  11. _title: Spam
  12. _controller: '\Drupal\spambot\Controller\SpambotUserSpamPageController::spambotUserSpam'
  13. requirements:
  14. _permission: 'administer users'
  15. options:
  16. parameters:
  17. user:
  18. type: entity:user