You are here

flexslider.routing.yml in Flex Slider 8.2

File

flexslider.routing.yml
View source
  1. flexslider.form_settings:
  2. path: /admin/config/media/flexslider/advanced
  3. defaults:
  4. _title: 'FlexSlider Advanced settings'
  5. _form: \Drupal\flexslider\Form\FlexsliderFormSettings
  6. requirements:
  7. _permission: 'administer flexslider'
  8. # Flexslider optionset routing definition
  9. entity.flexslider.collection:
  10. path: '/admin/config/media/flexslider'
  11. defaults:
  12. _entity_list: 'flexslider'
  13. _title: 'FlexSlider'
  14. requirements:
  15. _permission: 'administer flexslider'
  16. options:
  17. _admin_route: TRUE
  18. entity.flexslider.add_form:
  19. path: '/admin/config/media/flexslider/add'
  20. defaults:
  21. _entity_form: 'flexslider.add'
  22. _title: 'Add optionset'
  23. requirements:
  24. _permission: 'administer flexslider'
  25. options:
  26. _admin_route: TRUE
  27. entity.flexslider.edit_form:
  28. path: '/admin/config/media/flexslider/{flexslider}'
  29. defaults:
  30. _entity_form: 'flexslider.edit'
  31. _title: 'Edit optionset'
  32. requirements:
  33. _permission: 'administer flexslider'
  34. options:
  35. _admin_route: TRUE
  36. entity.flexslider.delete_form:
  37. path: '/admin/config/media/flexslider/{flexslider}/delete'
  38. defaults:
  39. _entity_form: 'flexslider.delete'
  40. _title: 'Delete optionset'
  41. requirements:
  42. _permission: 'administer flexslider'
  43. options:
  44. _admin_route: TRUE
  45. entity.flexslider.enable:
  46. path: '/admin/config/media/flexslider/{flexslider}/enable'
  47. defaults:
  48. _controller: '\Drupal\flexslider\Controller\FlexsliderOptionsetController::enable'
  49. entity_type: 'flexslider'
  50. requirements:
  51. _permission: 'administer flexslider'
  52. options:
  53. _admin_route: TRUE
  54. entity.flexslider.disable:
  55. path: '/admin/config/media/flexslider/{flexslider}/disable'
  56. defaults:
  57. _controller: '\Drupal\flexslider\Controller\FlexsliderOptionsetController::disable'
  58. entity_type: 'flexslider'
  59. requirements:
  60. _permission: 'administer flexslider'
  61. options:
  62. _admin_route: TRUE