You are here

jw_player.routing.yml in JW Player 8

File

jw_player.routing.yml
View source
  1. jw_player.admin:
  2. path: 'admin/config/media/jw_player/settings'
  3. defaults:
  4. _form: '\Drupal\jw_player\Form\JwplayerSettingsForm'
  5. _title: 'JW Player general settings'
  6. requirements:
  7. _permission: 'administer JW Player presets'
  8. entity.jw_player.collection:
  9. path: '/admin/config/media/jw_player'
  10. defaults:
  11. _entity_list: 'jw_player'
  12. _title: 'JW Player presets'
  13. requirements:
  14. _permission: 'administer site configuration'
  15. jw_player.preset_add:
  16. path: 'admin/config/media/jw_player/add'
  17. defaults:
  18. _entity_form: 'jw_player.add'
  19. _title: 'Add a new preset'
  20. requirements:
  21. _permission: 'administer site configuration'
  22. entity.jw_player.edit_form:
  23. path: '/admin/config/media/jw_player/{jw_player}'
  24. defaults:
  25. _entity_form: 'jw_player.edit'
  26. _title: 'Edit preset'
  27. requirements:
  28. _permission: 'administer site configuration'
  29. entity.jw_player.delete_form:
  30. path: '/admin/config/media/jw_player/{jw_player}/delete'
  31. defaults:
  32. _entity_form: 'jw_player.delete'
  33. _title: 'Delete preset'
  34. requirements:
  35. _permission: 'administer site configuration'