webform_attachment.routing.yml in Webform 6.x
Same filename and directory in other branches
modules/webform_attachment/webform_attachment.routing.yml
1 string reference to YAML keys in webform_attachment.routing.yml
- WebformAttachmentBase::getFileUrl in modules/
webform_attachment/ src/ Element/ WebformAttachmentBase.php - Get a webform attachment's download URL.
File
modules/webform_attachment/webform_attachment.routing.ymlView source
- entity.webform.user.submission.attachment:
- path: '/webform/{webform}/submissions/{webform_submission}/attachment/{element}/{filename}'
- defaults:
- _controller: '\Drupal\webform_attachment\Controller\WebformAttachmentController::download'
- requirements:
- _entity_access: 'webform_submission.view'