You are here

webform_submission_export_import.routing.yml in Webform 6.x

modules/webform_submission_export_import/webform_submission_export_import.routing.yml

File

modules/webform_submission_export_import/webform_submission_export_import.routing.yml
View source
  1. entity.webform_submission_export_import.results_import:
  2. path: '/admin/structure/webform/manage/{webform}/results/upload'
  3. defaults:
  4. _form: '\Drupal\webform_submission_export_import\Form\WebformSubmissionExportImportUploadForm'
  5. _title_callback: '\Drupal\webform\Controller\WebformEntityController::title'
  6. options:
  7. parameters:
  8. webform:
  9. type: 'entity:webform'
  10. requirements:
  11. _entity_access: 'webform.submission_update_any'
  12. _custom_access: '\Drupal\webform\Access\WebformEntityAccess:checkResultsAccess'
  13. entity.webform_submission_export_import.results_import.example.download:
  14. path: '/admin/structure/webform/manage/{webform}/results/upload/example/download'
  15. defaults:
  16. _controller: '\Drupal\webform_submission_export_import\Controller\WebformSubmissionExportImportController::download'
  17. options:
  18. parameters:
  19. webform:
  20. type: 'entity:webform'
  21. requirements:
  22. _entity_access: 'webform.submission_update_any'
  23. _custom_access: '\Drupal\webform\Access\WebformEntityAccess:checkResultsAccess'
  24. entity.webform_submission_export_import.results_import.example.view:
  25. path: '/admin/structure/webform/manage/{webform}/results/upload/example/view'
  26. defaults:
  27. _controller: '\Drupal\webform_submission_export_import\Controller\WebformSubmissionExportImportController::view'
  28. options:
  29. parameters:
  30. webform:
  31. type: 'entity:webform'
  32. requirements:
  33. _entity_access: 'webform.submission_update_any'
  34. _custom_access: '\Drupal\webform\Access\WebformEntityAccess:checkResultsAccess'
  35. # Webform node routes.
  36. # This route will be removed if the webform_node.module is not installed.
  37. # @see \Drupal\webform_submission_export_import\Routing\WebformSubmissionExportImportRouteSubscriber
  38. entity.node.webform_submission_export_import.results_import:
  39. path: '/node/{node}/webform/results/upload'
  40. defaults:
  41. _form: '\Drupal\webform_submission_export_import\Form\WebformSubmissionExportImportUploadForm'
  42. _title_callback: '\Drupal\Core\Entity\Controller\EntityController::title'
  43. operation: webform_submission_view
  44. entity_access: 'webform.submission_view_any'
  45. options:
  46. parameters:
  47. node:
  48. type: 'entity:node'
  49. requirements:
  50. _custom_access: '\Drupal\webform_node\Access\WebformNodeAccess::checkWebformResultsAccess'
  51. entity.node.webform_submission_export_import.results_import.example.download:
  52. path: '/node/{node}/webform/results/upload/example/download'
  53. defaults:
  54. _controller: '\Drupal\webform_submission_export_import\Controller\WebformSubmissionExportImportController::download'
  55. operation: webform_submission_view
  56. entity_access: 'webform.submission_view_any'
  57. options:
  58. parameters:
  59. node:
  60. type: 'entity:node'
  61. requirements:
  62. _custom_access: '\Drupal\webform_node\Access\WebformNodeAccess::checkWebformResultsAccess'
  63. entity.node.webform_submission_export_import.results_import.example.view:
  64. path: '/node/{node}/webform/results/upload/example/view'
  65. defaults:
  66. _controller: '\Drupal\webform_submission_export_import\Controller\WebformSubmissionExportImportController::view'
  67. operation: webform_submission_view
  68. entity_access: 'webform.submission_view_any'
  69. options:
  70. parameters:
  71. node:
  72. type: 'entity:node'
  73. requirements:
  74. _custom_access: '\Drupal\webform_node\Access\WebformNodeAccess::checkWebformResultsAccess'