You are here

Classes, traits, and interfaces in Media Download 1.0.x

Primary tabs

Namesort descending Type Namespace Location Description Direct uses Use statements Strings
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

Other projects