You are here

entity_print.routing.yml in Entity Print 8.2

Same filename and directory in other branches
  1. 8 entity_print.routing.yml

File

entity_print.routing.yml
View source
  1. entity_print.legacy_view:
  2. path: 'entityprint/{export_type}/{entity_type}/{entity_id}'
  3. defaults:
  4. _controller: '\Drupal\entity_print\Controller\EntityPrintController::viewRedirect'
  5. _title: 'Entity Print'
  6. requirements:
  7. _custom_access: '\Drupal\entity_print\Controller\EntityPrintController::checkAccess'
  8. entity_print.view.legacy_debug:
  9. path: 'entityprint/{export_type}/{entity_type}/{entity_id}/debug'
  10. defaults:
  11. _controller: '\Drupal\entity_print\Controller\EntityPrintController::viewRedirectDebug'
  12. _title: 'Entity Print Debug'
  13. requirements:
  14. _custom_access: '\Drupal\entity_print\Controller\EntityPrintController::checkAccess'
  15. entity_print.view:
  16. path: 'print/{export_type}/{entity_type}/{entity_id}'
  17. defaults:
  18. _controller: '\Drupal\entity_print\Controller\EntityPrintController::viewPrint'
  19. _title: 'Entity Print'
  20. requirements:
  21. _custom_access: '\Drupal\entity_print\Controller\EntityPrintController::checkAccess'
  22. entity_print.view.debug:
  23. path: 'print/{export_type}/{entity_type}/{entity_id}/debug'
  24. defaults:
  25. _controller: '\Drupal\entity_print\Controller\EntityPrintController::viewPrintDebug'
  26. _title: 'Entity Print Debug'
  27. requirements:
  28. _custom_access: '\Drupal\entity_print\Controller\EntityPrintController::checkAccess'
  29. entity_print.settings:
  30. path: 'admin/config/content/entityprint'
  31. defaults:
  32. _form: '\Drupal\entity_print\Form\SettingsForm'
  33. _title: 'Entity Print'
  34. requirements:
  35. _permission: 'administer entity print'