You are here

media_entity_download.routing.yml in Media Entity Download 8

Same filename and directory in other branches
  1. 8.2 media_entity_download.routing.yml

File

media_entity_download.routing.yml
View source
  1. media_entity_download.download:
  2. path: '/media/{media}/download'
  3. defaults:
  4. _controller: '\Drupal\media_entity_download\Controller\DownloadController::download'
  5. _title: 'Download Media'
  6. requirements:
  7. _permission: 'download media'