You are here

maillog.routing.yml in Maillog / Mail Developer 8

File

maillog.routing.yml
View source
  1. # @file
  2. # Custom routes for the Maillog module.
  3. maillog.settings:
  4. path: '/admin/config/development/maillog'
  5. defaults:
  6. _form: '\Drupal\maillog\Form\MaillogSettingsForm'
  7. _title: 'Maillog Settings'
  8. requirements:
  9. _permission: 'administer maillog'
  10. maillog.delete:
  11. path: '/admin/reports/maillog/delete/{maillog_id}'
  12. defaults:
  13. _controller: '\Drupal\maillog\Controller\MaillogController::delete'
  14. requirements:
  15. _permission: 'delete maillog'
  16. _csrf_token: 'TRUE'
  17. maillog.clear_log:
  18. path: '/admin/reports/maillog/delete/all'
  19. defaults:
  20. _form: '\Drupal\maillog\Form\MaillogClearConfirmForm'
  21. _title: 'Clear log'
  22. requirements:
  23. _permission: 'administer maillog'
  24. maillog.details:
  25. path: '/admin/reports/maillog/details/{maillog_id}'
  26. defaults:
  27. _controller: '\Drupal\maillog\Controller\MaillogController::details'
  28. requirements:
  29. _permission: 'view maillog'