You are here

mp3player.routing.yml in MP3 Player 8

File

mp3player.routing.yml
View source
  1. mp3player.player_list:
  2. path: '/admin/config/media/mp3player'
  3. defaults:
  4. _controller: '\Drupal\mp3player\Controller\Mp3playerController::mp3player_player_list'
  5. _title: 'MP3 Player'
  6. requirements:
  7. _permission: 'administer mp3player'
  8. mp3player.add_new_player:
  9. path: '/admin/config/media/mp3player/add-new-player'
  10. defaults:
  11. _form: '\Drupal\mp3player\Form\Mp3playerAddForm'
  12. _title: 'Add new player'
  13. requirements:
  14. _permission: 'administer mp3player'
  15. mp3player.global_settings:
  16. path: '/admin/config/media/mp3player/global-settings'
  17. defaults:
  18. _form: '\Drupal\mp3player\Form\Mp3playerSettingsForm'
  19. _title: 'Global Settings'
  20. requirements:
  21. _permission: 'administer mp3player'
  22. mp3player.edit_player:
  23. path: '/admin/config/media/mp3player/player/{pid}'
  24. defaults:
  25. _form: '\Drupal\mp3player\Form\Mp3playerAddForm'
  26. _title: 'Edit player'
  27. requirements:
  28. _permission: 'administer mp3player'
  29. mp3player.delete_player:
  30. path: '/admin/config/media/mp3player/player/{pid}/delete'
  31. defaults:
  32. _form: '\Drupal\mp3player\Form\Mp3playerDeleteForm'
  33. _title: 'Delete player'
  34. requirements:
  35. _permission: 'administer mp3player'