maillog.routing.yml 816 B

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