You are here

yandex_metrics_reports.routing.yml in Yandex.Metrics 8.2

yandex_metrics_reports/yandex_metrics_reports.routing.yml

File

yandex_metrics_reports/yandex_metrics_reports.routing.yml
View source
  1. yandex_metrics_reports.authorization:
  2. path: '/admin/config/system/yandex_metrics/authorization'
  3. defaults:
  4. _controller: 'Drupal\yandex_metrics_reports\Controller\YandexMetricsReportsController::authorizationRedirect'
  5. requirements:
  6. _permission: 'administer site configuration'
  7. yandex_metrics_reports.oauth_callback:
  8. path: '/yandex_metrics/oauth'
  9. defaults:
  10. _controller: 'Drupal\yandex_metrics_reports\Controller\YandexMetricsReportsController::oauthCalbackRedirect'
  11. requirements:
  12. _permission: 'administer site configuration'
  13. yandex_metrics_reports.reports:
  14. path: '/admin/config/system/yandex_metrics/reports'
  15. defaults:
  16. _form: '\Drupal\yandex_metrics_reports\Form\YandexMetricsReportsSettingsForm'
  17. requirements:
  18. _permission: 'administer Yandex.Metrics settings'
  19. yandex_metrics_reports.cron:
  20. path: '/admin/config/system/yandex_metrics/cron'
  21. defaults:
  22. _form: '\Drupal\yandex_metrics_reports\Form\YandexMetricsReportsCronForm'
  23. requirements:
  24. _permission: 'administer Yandex.Metrics settings'
  25. yandex_metrics_reports.summary:
  26. path: 'admin/reports/yandex_metrics_summary/{filter}'
  27. defaults:
  28. _content: '\Drupal\yandex_metrics_reports\Controller\YandexMetricsReportsController::report'
  29. filter: 'week'
  30. requirements:
  31. _permission: 'access Yandex.Metrics report'
  32. yandex_metrics_reports.ajax:
  33. path: 'admin/yandex_metrics_ajax/{counter_id}/{filter}/{type}'
  34. defaults:
  35. _controller: '\Drupal\yandex_metrics_reports\Controller\YandexMetricsReportsController::ajax'
  36. requirements:
  37. _permission: 'access Yandex.Metrics report'