Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Media File Formatters

No security coverage Under active development 89 sites

This module provides file formatters for media entity file fields. It allows you to use the media's name as the file link text or to render the file's description without a link, which is useful in Views.

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 }}

Ask your assistant about Media File Formatters

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

Tracked releases
2
Tracked since
Dec 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Slowing

Releases

Version Type Core PHP Release date
8.x-1.0-alpha3 Pre-release 8–11 Oct 1, 2024
8.x-1.0-alpha2 Pre-release 8–10 Dec 15, 2023