You are here

download_count.routing.yml in Download Count 8

File

download_count.routing.yml
View source
  1. download_count.file_settings:
  2. path: 'admin/config/media/download-count'
  3. defaults:
  4. _form: '\Drupal\download_count\Form\DownloadCountSettingsForm'
  5. _title: 'Download count'
  6. requirements:
  7. _permission: 'administer site configuration'
  8. download_count.clear:
  9. path: 'admin/config/media/download-count/clear'
  10. defaults:
  11. _form: '\Drupal\download_count\Form\DownloadCountClearForm'
  12. _title: 'Clear Cache'
  13. requirements:
  14. _permission: 'administer site configuration'
  15. download_count.reports:
  16. path: 'admin/reports/download-count'
  17. defaults:
  18. _title: 'Download Counts'
  19. _controller: '\Drupal\download_count\Controller\DownloadCountController::downloadCountReport'
  20. requirements:
  21. _permission: 'view download counts'
  22. download_count.details:
  23. path: 'admin/reports/download-count/{download_count_entry}/details'
  24. defaults:
  25. _title: 'Download Count Details'
  26. _controller: '\Drupal\download_count\Controller\DownloadCountController::downloadCountDetails'
  27. requirements:
  28. _permission: 'view download counts'
  29. download_count.reset:
  30. path: 'admin/reports/download-count/{download_count_entry}/reset'
  31. defaults:
  32. _title: 'Download Count Reset'
  33. _form: '\Drupal\download_count\Form\DownloadCountResetForm'
  34. requirements:
  35. _permission: 'view download counts'
  36. download_count.export:
  37. path: 'admin/reports/download-count/{download_count_entry}/export'
  38. defaults:
  39. _title: 'Download Count Export'
  40. _form: '\Drupal\download_count\Form\DownloadCountExportForm'
  41. requirements:
  42. _permission: 'view download counts'