Support for Media Reference Fields

Created on 17 May 2024, 4 months ago
Updated 17 June 2024, 3 months ago

Problem/Motivation

Tried using the Media Entity Reference module, but it would take me to the media page rather than render the file asset.

Steps to reproduce

  1. Add Media Entity Reference to project along with this module
  2. Create a Reference media type
  3. Create a Reference media content and add a url alias
  4. Try going to the alias and you'll note that it takes you to the media page

Proposed resolution

I updated code DisplayController.php to recursively search field entity until it return the File instance.

Feature request
Status

Needs work

Version

2.1

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024