interface VendorFileDownloadControllerInterface in Vendor Stream Wrapper 8
Vendor Stream Wrapper file controller interface.
Sets up serving of files from the vendor directory, using the vendor:// stream wrapper.
Hierarchy
- interface \Drupal\vendor_stream_wrapper\Controller\VendorFileDownloadControllerInterface
Expanded class hierarchy of VendorFileDownloadControllerInterface
All classes that implement VendorFileDownloadControllerInterface
File
- src/
Controller/ VendorFileDownloadControllerInterface.php, line 13
Namespace
Drupal\vendor_stream_wrapper\ControllerView source
interface VendorFileDownloadControllerInterface {
/**
* Handles vendor file transfers.
*
* @param \Symfony\Component\HttpFoundation\Request $request
* The request object.
*
* @return \Symfony\Component\HttpFoundation\BinaryFileResponse
* The transferred file as response.
*
* @throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException
* Thrown when the requested file does not exist.
*/
public function download(Request $request);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
VendorFileDownloadControllerInterface:: |
public | function | Handles vendor file transfers. | 1 |