New "Update metadata" action is available in media administrative views, as a bulk operation.Ī new public method \Drupal\media\MediaInterface::updateMetadata() is added to the Media interface. New operation dropbutton "Update metadata" is available in the back-end New contextual link "Update metadata" is available in the front-end Proposed resolutionĮxpose to the UI the possibility of end users with correct permissions to trigger an immediate update of the asset's metadata + thumbnail Remaining tasks This issue was spun-off from #2878119: Whether queued or not, update the media thumbnail and metadata before beginning the entity save database transaction. The same is valid for all other metadata attributes that source plugins could define (name, filesize, filemime, width, height, etc). Currently there is no mechanism for users to update the Thumbnail in this scenario. Several scenarios have shown this is a big limitation, being a prominent example the situation when the source providing the thumbnail is remote (like an YouTube video), and the thumbnail is changed on the remote source after the entity has been created in Drupal. Similarly, the Thumbnail (which is not a metadata per se) is treated the same way, it is currently only retrieved from the source when the entity is first created. It's currently impossible for end-users to manually pull metadata associated with media assets from the source into the Drupal media entity, after the entity is created.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |