Track media usage and present it to the site builder (in the media library, media view, on media deletion confirmation, etc.)

Created on 14 December 2016, over 7 years ago
Updated 5 June 2023, 12 months ago

Problem/Motivation

In addition to listing files, the core file view also lists and links usages. Another difference between the two views is that media may be deleted from the media view, whereas the files may be marked for deletion based on automatic (but broken) usage tracking.

User stories:

  • As a media manager, I want to see where my media is used across the site (in entity relationship fields or in WYSIWYGs) so that I can effectively manage my media library and related content.
  • As a media manager, I want to be prompted when I try to delete a piece of media that's in use (in entity relationship fields or in WYSIWYGs) so that I don't inadvertently break content or designs.

Proposed resolution

Add (non-broken) information on media usage and present it to the site builder where appropriate (on the media view / media library, possibly on the media deletion confirmation form, etc.).

Remaining tasks

Postponed on 🌱 Dealing with unexpected file deletion due to incorrect file usage Active .

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Active

Version

11.0 πŸ”₯

Component
MediaΒ  β†’

Last updated 1 day ago

Created by

πŸ‡©πŸ‡ͺGermany dawehner

Live updates comments and jobs are added and updated live.
  • Needs subsystem maintainer review

    It is used to alert the maintainer(s) of a particular core subsystem that an issue significantly impacts their subsystem, and their signoff is needed (see the governance policy draft for more information). Also, if you use this tag, make sure the issue component is set to the correct subsystem. If an issue significantly impacts more than one subsystem, use needs framework manager review instead.

  • Needs product manager review

    It is used to alert the product manager core committer(s) that an issue represents a significant new feature, UI change, or change to the "user experience" of Drupal, and their signoff is needed. If an issue significantly affects the usability of Drupal, use Needs usability review instead (see the governance policy draft for more information).

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡¦πŸ‡ΊAustralia larowlan πŸ‡¦πŸ‡ΊπŸ.au GMT+10

    I opened an ideas queue issue for this too, as it has come up a few times in product/security/bug chats

Production build 0.69.0 2024