download_file.routing.yml in DownloadFile 8
1 string reference to YAML keys in download_file.routing.yml
File
download_file.routing.ymlView source
- download_file.download_file_path:
- path: '/download/file/{file_id}'
- defaults:
- _controller: '\Drupal\download_file\Controller\DownloadFileController::download_file_direct_download'
- _title: 'Direct File Download'
- requirements:
- _permission: 'access content'