You are here

image_slider.routing.yml in Image sliders 8

File

image_slider.routing.yml
View source
  1. entity.image_slider.canonical:
  2. path: '/image_slider/{image_slider}'
  3. defaults:
  4. _entity_view: 'image_slider'
  5. _title: 'Slider content'
  6. requirements:
  7. _entity_access: 'image_slider.view'
  8. entity.image_slider.collection:
  9. path: '/admin/structure/image_slider/list'
  10. defaults:
  11. _entity_list: 'image_slider'
  12. _title: 'Slider list'
  13. requirements:
  14. _permission: 'view slider entity'
  15. image_slider.slider_add:
  16. path: '/admin/structure/image_slider/add'
  17. defaults:
  18. _entity_form: image_slider.default
  19. _title: 'Add slider'
  20. requirements:
  21. _entity_create_access: 'image_slider'
  22. entity.image_slider.edit_form:
  23. path: '/admin/structure/image_slider/{image_slider}/edit'
  24. defaults:
  25. _entity_form: image_slider.default
  26. _title: 'Edit slider'
  27. requirements:
  28. _entity_access: 'image_slider.update'
  29. entity.image_slider.delete_form:
  30. path: '/admin/structure/slider/{image_slider}/delete'
  31. defaults:
  32. _entity_form: image_slider.delete
  33. _title: 'Delete slider'
  34. requirements:
  35. _entity_access: 'image_slider.delete'