Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 298226

Expose triggering update of media metadata + thumbnail to end users

$
0
0

Problem/Motivation

Spun-off from #2878119: Whether queued or not, update the media thumbnail and metadata before beginning the entity save database transaction.
On that issue, we identified that in many places it may make sense to let end users trigger / force an immediate update of the asset's metadata.

Proposed resolution

Expose to the UI the possibility of end users with correct permissions to trigger an immediate update of the asset's metadata + thumbnail

Remaining tasks

User interface changes

- New contextual link "Update metadata" is available in the front-end

contextual link

- New operation dropbutton "Update metadata" is available in the back-end

dropbutton

- New "Update metadata" action is available in media administrative views, as a bulk operation.

bulk action

API changes

A new public method \Drupal\media\MediaInterface::updateMetadata() is added to the Media interface.

Data model changes

None


Viewing all articles
Browse latest Browse all 298226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>