Add support for media

Created on 22 February 2024, 4 months ago

Problem/Motivation

This is a fantastic module and provided needed functionality for my project. However, I need to be able to reference unpublished media as well. Luckily this wasn't difficult to accomplish. I've attached a patch that adds the feature and works as expected on my site (Drupal 10.1.8).

Steps to reproduce

  1. Install the patch.
  2. Go to a content type with a media reference field.
  3. Edit the media reference field.
  4. Change the reference method to "Unpublished Default" (consistent with changing the reference method for nodes and taxonomy terms).
  5. Click Save.

Proposed resolution

Patch attached!

Remaining tasks

Community feedback and testing.

User interface changes

Added "Unpublished Default" reference method for media entities.

✨ Feature request
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jsutta United States

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

Comments & Activities

Production build 0.69.0 2024