Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This project is not covered by Drupal’s security advisory policy.
File formatters for media entity file fields.
- Use media "Name" field instead of description as the file link text.
- Render file as its "Description" only with no link. Useful with Views when wanting to display the file field's description rather than create a new field.
The option to open a document in a new window requires this core patch: #2727281-43: Template file_link is difficult to alter
When using the "Name" field as the link text, the "Description" field can be displayed separately in the template file:
{{ file._referringItem.description }}
Supporting organizations:
Project information
- Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed. - Module categories: Content Editing Experience, Content Display, Site Structure
- 53 sites report using this module
- Created by imclean on , updated
- This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
Releases
8.x-1.0-alpha2
released 15 December 2023
Works with Drupal: ^8.8 || ^9 || ^10
Drupal 10 support
Install:
Development version: 8.x-1.x-dev updated 7 Sep 2022 at 22:23 UTC