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: Link to file can't be altered in a field formatter
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.- Project categories: Content editing experience, Content display, Site structure
81 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-alpha3
released 1 October 2024
Works with Drupal: ^8.8 || ^9 || ^10 || ^11
Drupal 11 support.
Install:
Development version: 8.x-1.x-dev updated 1 Oct 2024 at 06:03 UTC