Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Entity Reference Media

No security coverage Under active development 177 sites

Part of the Entity ecosystem · 310 projects

This module allows you to reference media items and override their captions or video start/end times without modifying the original media item. This enables reusing media with variations for different contexts. It also optimizes the media library widget and entity reference formatter for a smoother user experience.

Similar to Entity Reference Module but specially designed for referencing Media items.

Problems we solve:

Modify/Add a Caption to a Media item and change it OUTSIDE of the Media item and not inside of it. Also supports video Start-End fields. So you can use the Media item multiple times with different captions / start-end video values.

It also contains:

Optimized `Media Library` Widget and optimized `Entity Reference` Formatter, so the new `entity_reference_media` works nicely with them.

There is a bigger Drupal Core issue, which this module tries to bypass and make it also a more flexible solution.

In case you want to use `entity_reference_media` with other Widgets/Formatters rather than `Media Library Widget` and `EntityReferenceFormatter` - the patch for other modules would be needed. Or `hook_field_formatter_info_alter` (or similar).

Ask your assistant about Entity Reference Media

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
4
Tracked since
Feb 2023
Latest release
6 months ago
Releases (12 mo)
1
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
1.0.0-rc7 Pre-release 8–11 May 18, 2026
1.0.0-rc6 Pre-release 8–10 Jan 9, 2025
1.0.0-rc5 Pre-release 8–10 Oct 11, 2023
1.0.0-rc4 Pre-release 8–9 Feb 7, 2023