You are here

entity_print.routing.yml in Entity Print 8

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

File

entity_print.routing.yml
View source
  1. entity_print.view:
  2. path: 'entityprint/{entity_type}/{entity_id}'
  3. defaults:
  4. _controller: '\Drupal\entity_print\Controller\EntityPrintController::viewPdf'
  5. _title: 'Entity Print'
  6. requirements:
  7. _custom_access: '\Drupal\entity_print\Controller\EntityPrintController::checkAccess'
  8. entity_print.view.debug:
  9. path: 'entityprint/{entity_type}/{entity_id}/debug'
  10. defaults:
  11. _controller: '\Drupal\entity_print\Controller\EntityPrintController::viewPdfDebug'
  12. _title: 'Entity Print Debug'
  13. requirements:
  14. _custom_access: '\Drupal\entity_print\Controller\EntityPrintController::checkAccess'
  15. entity_print.settings:
  16. path: 'admin/config/content/entityprint'
  17. defaults:
  18. _form: '\Drupal\entity_print\Form\SettingsForm'
  19. _title: 'Entity Print'
  20. requirements:
  21. _permission: 'administer entity print'