You are here

visitors.routing.yml in Visitors 8.2

File

visitors.routing.yml
View source
  1. visitors.settings:
  2. path: '/admin/config/system/visitors'
  3. defaults:
  4. _form: '\Drupal\visitors\Form\Settings'
  5. _title: 'Visitors settings'
  6. requirements:
  7. _permission: 'administer visitors'
  8. visitors.index:
  9. path: '/visitors'
  10. defaults:
  11. _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
  12. _title: 'Visitors'
  13. requirements:
  14. _permission: 'access visitors'
  15. visitors.hits:
  16. path: '/visitors/hits'
  17. defaults:
  18. _controller: '\Drupal\visitors\Controller\Report\RecentHits::display'
  19. _title: 'Recent hits'
  20. requirements:
  21. _permission: 'access visitors'
  22. visitors.hit_details:
  23. path: '/visitors/hits/{hit_id}'
  24. defaults:
  25. _controller: '\Drupal\visitors\Controller\Report\HitDetails::display'
  26. _title: 'View access log'
  27. requirements:
  28. _permission: 'access visitors'
  29. visitors.top_pages:
  30. path: '/visitors/pages'
  31. defaults:
  32. _controller: '\Drupal\visitors\Controller\Report\TopPages::display'
  33. _title: 'Top pages'
  34. requirements:
  35. _permission: 'access visitors'
  36. visitors.node:
  37. path: '/node/{node}/visitors'
  38. defaults:
  39. _controller: '\Drupal\visitors\Controller\Report\Node::display'
  40. _title: 'Visitors'
  41. requirements:
  42. _permission: 'access visitors'
  43. options:
  44. _node_operation_route: TRUE
  45. visitors.hosts:
  46. path: '/visitors/hosts'
  47. defaults:
  48. _controller: '\Drupal\visitors\Controller\Report\Hosts::display'
  49. _title: 'Hosts'
  50. requirements:
  51. _permission: 'access visitors'
  52. visitors.host_hits:
  53. path: '/visitors/hosts/{host}'
  54. defaults:
  55. _controller: '\Drupal\visitors\Controller\Report\Hits::display'
  56. _title: 'Hits'
  57. requirements:
  58. _permission: 'access visitors'
  59. visitors.user_activity:
  60. path: '/visitors/user_activity'
  61. defaults:
  62. _controller: '\Drupal\visitors\Controller\Report\UserActivity::display'
  63. _title: 'User activity'
  64. requirements:
  65. _permission: 'access visitors'
  66. visitors.hours:
  67. path: '/visitors/hours'
  68. defaults:
  69. _controller: '\Drupal\visitors\Controller\Report\Hours::display'
  70. _title: 'Hours'
  71. requirements:
  72. _permission: 'access visitors'
  73. visitors.days_of_month:
  74. path: '/visitors/days_of_month'
  75. defaults:
  76. _controller: '\Drupal\visitors\Controller\Report\DaysOfMonth::display'
  77. _title: 'Days of month'
  78. requirements:
  79. _permission: 'access visitors'
  80. visitors.days_of_week:
  81. path: '/visitors/days_of_week'
  82. defaults:
  83. _controller: '\Drupal\visitors\Controller\Report\DaysOfWeek::display'
  84. _title: 'Days of week'
  85. requirements:
  86. _permission: 'access visitors'
  87. visitors.monthly_history:
  88. path: '/visitors/monthly_history'
  89. defaults:
  90. _controller: '\Drupal\visitors\Controller\Report\MonthlyHistory::display'
  91. _title: 'Monthly history'
  92. requirements:
  93. _permission: 'access visitors'
  94. visitors.referers:
  95. path: '/visitors/referers'
  96. defaults:
  97. _controller: '\Drupal\visitors\Controller\Report\Referers::display'
  98. _title: 'Referers'
  99. requirements:
  100. _permission: 'access visitors'