public function VendorFileDownloadControllerInterface::download in Vendor Stream Wrapper 8
Handles vendor file transfers.
Parameters
\Symfony\Component\HttpFoundation\Request $request: The request object.
Return value
\Symfony\Component\HttpFoundation\BinaryFileResponse The transferred file as response.
Throws
\Symfony\Component\HttpKernel\Exception\NotFoundHttpException Thrown when the requested file does not exist.
1 method overrides VendorFileDownloadControllerInterface::download()
- VendorFileDownloadController::download in src/
Controller/ VendorFileDownloadController.php - Handles vendor file transfers.
File
- src/
Controller/ VendorFileDownloadControllerInterface.php, line 27
Class
- VendorFileDownloadControllerInterface
- Vendor Stream Wrapper file controller interface.
Namespace
Drupal\vendor_stream_wrapper\ControllerCode
public function download(Request $request);