You are here

webform_image_select.routing.yml in Webform 6.x

Same filename and directory in other branches
  1. 8.5 modules/webform_image_select/webform_image_select.routing.yml
modules/webform_image_select/webform_image_select.routing.yml

File

modules/webform_image_select/webform_image_select.routing.yml
View source
  1. entity.webform_image_select_images.collection:
  2. path: '/admin/structure/webform/options/images/manage'
  3. defaults:
  4. _entity_list: 'webform_image_select_images'
  5. _title: 'Webforms: Images'
  6. requirements:
  7. _permission: 'administer webform'
  8. entity.webform_image_select_images.autocomplete:
  9. path: '/admin/structure/webform/options/images/autocomplete'
  10. defaults:
  11. _controller: '\Drupal\webform_image_select\Controller\WebformImageSelectImagesController::autocomplete'
  12. requirements:
  13. _permission: 'administer webform'
  14. entity.webform_image_select_images.add_form:
  15. path: '/admin/structure/webform/options/images/manage/add'
  16. defaults:
  17. _entity_form: 'webform_image_select_images.add'
  18. _title: 'Add webform images'
  19. requirements:
  20. _entity_create_access: 'webform_image_select_images'
  21. entity.webform_image_select_images.edit_form:
  22. path: '/admin/structure/webform/options/images/manage/{webform_image_select_images}/edit'
  23. defaults:
  24. _entity_form: 'webform_image_select_images.edit'
  25. _title: 'Edit webform images'
  26. requirements:
  27. _entity_access: 'webform_image_select_images.update'
  28. entity.webform_image_select_images.source_form:
  29. path: '/admin/structure/webform/options/images/manage/{webform_image_select_images}/source'
  30. defaults:
  31. _entity_form: 'webform_image_select_images.source'
  32. requirements:
  33. _custom_access: '\Drupal\webform_image_select\Access\WebformImageSelectAccess::checkImagesSourceAccess'
  34. entity.webform_image_select_images.duplicate_form:
  35. path: '/admin/structure/webform/options/images/{webform_image_select_images}/duplicate'
  36. defaults:
  37. _entity_form: 'webform_image_select_images.duplicate'
  38. _title: 'Duplicate webform images'
  39. requirements:
  40. _entity_access: 'webform_image_select_images.duplicate'
  41. entity.webform_image_select_images.delete_form:
  42. path: '/admin/structure/webform/options/images/{webform_image_select_images}/delete'
  43. defaults:
  44. _entity_form: 'webform_image_select_images.delete'
  45. _title: 'Delete webform images'
  46. requirements:
  47. _entity_access: 'webform_image_select_images.delete'