CacheableBinaryFileResponse |
class |
Drupal\media_download |
src/CacheableBinaryFileResponse.php |
Provides a binary file response class that is cacheable by Drupal. |
|
|
|
DownloadController |
class |
Drupal\media_download |
src/DownloadController.php |
Adds support for direct downloads of media entities. |
|
1 |
|
DownloadTest |
class |
Drupal\Tests\media_download\Functional |
tests/src/Functional/DownloadTest.php |
Tests that the download functionality works as expected. |
|
|
|
MediaSettingsOverride |
class |
Drupal\media_download |
src/MediaSettingsOverride.php |
Overrides the Media module's settings to forcibly enable standalone URL. |
|
|
2 |
MediaTest |
class |
Drupal\Tests\media_download\Kernel |
tests/src/Kernel/MediaTest.php |
Tests the side effects introduced by this module to the Media module. |
|
|
|
PageCacheResponsePolicy |
class |
Drupal\media_download |
src/PageCacheResponsePolicy.php |
Deny caching of BinaryFileResponse and StreamedResponse class hierarchies. |
|
|
2 |
RouteSubscriber |
class |
Drupal\media_download |
src/RouteSubscriber.php |
Replaces the core-provided canonical media entity route. |
|
|
2 |