This module allows files attached to media entities to be downloaded directly when the media entity's standalone URL is accessed, instead of displaying the media entity's page.
The Media Canonical Download Module provides an option to download a file directly when a media entity is viewed.
Usage:
- Install the Media Canonical Download module.
- Select “Standalone Media URLs” at /admin/config/media/media-settings
- Create (or edit) a document media type.
- Make sure to check “Create new revision”.
- Check “Serve file directly” from the Media Canonical Download settings.
Visiting the media canonical route (eg. /media/1) will then download the file directly instead of showing the media entity page.
Ask your assistant about Media Canonical Download
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.0.0-alpha2 | Pre-release | 10 | Aug 2, 2024 | ||
| 1.0.0-alpha1 | Pre-release | 10 | Jul 25, 2024 | ||
| 1.0.x-dev | Dev | 10–11 | Jul 24, 2024 |