You are here

webform_devel.routing.yml in Webform 8.5

Same filename and directory in other branches
  1. 6.x modules/webform_devel/webform_devel.routing.yml
modules/webform_devel/webform_devel.routing.yml

File

modules/webform_devel/webform_devel.routing.yml
View source
  1. entity.webform.schema_form:
  2. path: '/admin/structure/webform/manage/{webform}/schema'
  3. defaults:
  4. _entity_form: 'webform.schema'
  5. _title_callback: '\Drupal\webform\Controller\WebformEntityController::title'
  6. requirements:
  7. _permission: 'access devel information'
  8. webform_devel.schema.export:
  9. path: '/admin/structure/webform/manage/{webform}/schema/export'
  10. defaults:
  11. _controller: '\Drupal\webform_devel\Controller\WebformDevelSchemaController::index'
  12. requirements:
  13. _permission: 'access devel information'
  14. entity.webform.fapi_export_form:
  15. path: '/admin/structure/webform/manage/{webform}/fapi'
  16. defaults:
  17. _entity_form: 'webform.fapi_export'
  18. _title_callback: '\Drupal\webform\Controller\WebformEntityController::title'
  19. requirements:
  20. _permission: 'access devel information'
  21. entity.webform.fapi_test_form:
  22. path: '/admin/structure/webform/manage/{webform}/fapi/test'
  23. defaults:
  24. _entity_form: 'webform.fapi_test'
  25. _title_callback: '\Drupal\webform\Controller\WebformEntityController::title'
  26. requirements:
  27. _permission: 'access devel information'
  28. entity.webform.api_form:
  29. path: '/webform/{webform}/api'
  30. defaults:
  31. _form: '\Drupal\webform_devel\Form\WebformDevelSubmissionApiForm'
  32. _title_callback: '\Drupal\webform\Controller\WebformTestController::title'
  33. options:
  34. parameters:
  35. webform:
  36. type: 'entity:webform'
  37. _admin_route: TRUE
  38. requirements:
  39. _entity_access: 'webform.update'
  40. _permission: 'access devel information'
  41. entity.node.webform.api_form:
  42. path: '/node/{node}/webform/api'
  43. defaults:
  44. _form: '\Drupal\webform_devel\Form\WebformDevelSubmissionApiForm'
  45. _title_callback: '\Drupal\Core\Entity\Controller\EntityController::title'
  46. operation: webform_submission_view
  47. entity_access: 'webform.update'
  48. options:
  49. parameters:
  50. node:
  51. type: 'entity:node'
  52. _admin_route: TRUE
  53. requirements:
  54. _permission: 'access devel information'
  55. _custom_access: '\Drupal\webform_node\Access\WebformNodeAccess::checkWebformAccess'