mp3player.routing.yml in MP3 Player 8
5 string references to YAML keys in mp3player.routing.yml
- Mp3playerAddForm::submitForm in src/
Form/ Mp3playerAddForm.php - Form submission handler.
- Mp3playerController::mp3player_player_list in src/
Controller/ Mp3playerController.php - Mp3playerDeleteForm::buildForm in src/
Form/ Mp3playerDeleteForm.php - Form constructor.
- Mp3playerDeleteForm::getCancelUrl in src/
Form/ Mp3playerDeleteForm.php - Returns the route to go to if the user cancels the action.
- Mp3playerDeleteForm::submitForm in src/
Form/ Mp3playerDeleteForm.php - Form submission handler.
File
mp3player.routing.ymlView source
- mp3player.player_list:
- path: '/admin/config/media/mp3player'
- defaults:
- _controller: '\Drupal\mp3player\Controller\Mp3playerController::mp3player_player_list'
- _title: 'MP3 Player'
- requirements:
- _permission: 'administer mp3player'
-
- mp3player.add_new_player:
- path: '/admin/config/media/mp3player/add-new-player'
- defaults:
- _form: '\Drupal\mp3player\Form\Mp3playerAddForm'
- _title: 'Add new player'
- requirements:
- _permission: 'administer mp3player'
-
- mp3player.global_settings:
- path: '/admin/config/media/mp3player/global-settings'
- defaults:
- _form: '\Drupal\mp3player\Form\Mp3playerSettingsForm'
- _title: 'Global Settings'
- requirements:
- _permission: 'administer mp3player'
-
- mp3player.edit_player:
- path: '/admin/config/media/mp3player/player/{pid}'
- defaults:
- _form: '\Drupal\mp3player\Form\Mp3playerAddForm'
- _title: 'Edit player'
- requirements:
- _permission: 'administer mp3player'
-
- mp3player.delete_player:
- path: '/admin/config/media/mp3player/player/{pid}/delete'
- defaults:
- _form: '\Drupal\mp3player\Form\Mp3playerDeleteForm'
- _title: 'Delete player'
- requirements:
- _permission: 'administer mp3player'