This project is not covered by Drupal’s security advisory policy.

File formatters for media entity file fields.

  1. Use media "Name" field instead of description as the file link text.
  2. 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

Releases