Show media name field in form modes by default

Created on 9 January 2025, 3 months ago

Problem/Motivation

The core media recipes follow the core convention of hiding the media name field from all form modes. If I recall, at the time this change was done, it was required and not pre-populated by the file name if the field was exposed. This made sense, because it was an extra step that is not needed in many cases, where the filename will suffice.

But the way it works now is that it's pre-populated with the name anyway, which even shows in the media library form as read only. So by adding the field to the form, editors can do nothing and accept it or opt to modify it. This seems optimal and is our preference for Drupal CMS, but it's proving to be a pain to change because we're using the core recipes for most media types.

πŸ“Œ Restore the name field on media entities Active

Proposed resolution

Update the core media type recipes to show the name field on the default and media library forms.

Before:

After:

Remaining tasks

Update the recipes.

User interface changes

Provides the media name field on forms by default.

Introduced terminology

N/A

API changes

N/A

Data model changes

N/A

Release notes snippet

N/A

✨ Feature request
Status

Active

Version

11.0 πŸ”₯

Component

media system

Created by

πŸ‡¦πŸ‡ΊAustralia pameeela

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