Show Media title field in form display

Created on 27 August 2025, 27 days ago

Problem/Motivation

In some cases it can be useful to edit the entity title of a Media item.

By default the entity title is populated from the filename, which means you get things like Agenda_2025_04_final_v3_EDITED_2025_08.draft.pdf as the entity title. Or IMG_202562.JPG. Being able to set an entity title would help distinguish similar files in the Media listing.

Also, Vimeo allows you to set a video as semi-private, meaning you can embed the video, but not view it in other contexts. OEmbed does not necessarily return a title in this context, and you end up with a UUID as the entity title in the Media listing.

Steps to reproduce

  1. Install the latest Panopoly 3.0.x using the Panopoly profile.
  2. Log in as an administrator.
  3. Add a Media item with a cryptic filename.
  4. Note there is no way to edit the title of the Media item.

Proposed resolution

Update the form display of the 3 media types to show the Name field.

Remaining tasks

Patch and test.

User interface changes

Editors will see the Name field when creating media outside the context of an embed or a block. They will see the field when editing media. Block and WYSIWYG display is not affected.

API changes

None.

Data model changes

None. The name field already exists and is populated behind the scenes; this change just exposes it to site editors.

✨ Feature request
Status

Active

Version

3.0

Component

Media

Created by

πŸ‡ΊπŸ‡ΈUnited States cboyden

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