jw_player.routing.yml in JW Player 8
File
jw_player.routing.yml
View source
- jw_player.admin:
- path: 'admin/config/media/jw_player/settings'
- defaults:
- _form: '\Drupal\jw_player\Form\JwplayerSettingsForm'
- _title: 'JW Player general settings'
- requirements:
- _permission: 'administer JW Player presets'
-
- entity.jw_player.collection:
- path: '/admin/config/media/jw_player'
- defaults:
- _entity_list: 'jw_player'
- _title: 'JW Player presets'
- requirements:
- _permission: 'administer site configuration'
- jw_player.preset_add:
- path: 'admin/config/media/jw_player/add'
- defaults:
- _entity_form: 'jw_player.add'
- _title: 'Add a new preset'
- requirements:
- _permission: 'administer site configuration'
- entity.jw_player.edit_form:
- path: '/admin/config/media/jw_player/{jw_player}'
- defaults:
- _entity_form: 'jw_player.edit'
- _title: 'Edit preset'
- requirements:
- _permission: 'administer site configuration'
- entity.jw_player.delete_form:
- path: '/admin/config/media/jw_player/{jw_player}/delete'
- defaults:
- _entity_form: 'jw_player.delete'
- _title: 'Delete preset'
- requirements:
- _permission: 'administer site configuration'