You are here

entity_print_views.routing.yml in Entity Print 8.2

modules/entity_print_views/entity_print_views.routing.yml

File

modules/entity_print_views/entity_print_views.routing.yml
View source
  1. entity_print_views.view:
  2. path: 'print/view/{export_type}/{view_name}/{display_id}'
  3. defaults:
  4. _controller: '\Drupal\entity_print_views\Controller\ViewPrintController::viewPrint'
  5. _title: 'Entity Print Views'
  6. requirements:
  7. _custom_access: '\Drupal\entity_print_views\Controller\ViewPrintController::checkAccess'
  8. entity_print_views.view.debug:
  9. path: 'print/view/{export_type}/{view_name}/{display_id}/debug'
  10. defaults:
  11. _controller: '\Drupal\entity_print_views\Controller\ViewPrintController::viewPrintDebug'
  12. _title: 'Entity Print Views'
  13. requirements:
  14. _custom_access: '\Drupal\entity_print_views\Controller\ViewPrintController::checkAccess'
  15. entity_print_views.legacy_view:
  16. path: 'entityprint/view/{export_type}/{view_name}/{display_id}'
  17. defaults:
  18. _controller: '\Drupal\entity_print_views\Controller\ViewPrintController::viewRedirect'
  19. _title: 'Entity Print Views'
  20. requirements:
  21. _custom_access: '\Drupal\entity_print_views\Controller\ViewPrintController::checkAccess'
  22. entity_print_views.legacy_debug:
  23. path: 'entityprint/view/{export_type}/{view_name}/{display_id}/debug'
  24. defaults:
  25. _controller: '\Drupal\entity_print_views\Controller\ViewPrintController::viewRedirectDebug'
  26. _title: 'Entity Print Views'
  27. requirements:
  28. _custom_access: '\Drupal\entity_print_views\Controller\ViewPrintController::checkAccess'