Remove unused file_file_video_presave()

Created on 30 June 2025, about 2 months ago

Problem/Motivation

✨ Video media needs playsinline option Needs work introduced a file_file_video_presave() hook, but as @berdir pointed out:

but that's not a thing at all, because there's no such thing as a file_video entity type. It's also a legacy hook function.

I guess this should be a entity_view_display_presave() hook that checks for something using that formatter, but that's a lot of complexity for something as banal as fixing up a missing key in default config.

We have file_post_update_add_playsinline() post-update hook, so this seems to be dead code. Let's remove it.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

πŸ› Bug report
Status

Active

Version

11.0 πŸ”₯

Component

file.module

Created by

πŸ‡¦πŸ‡ΊAustralia kim.pepper πŸ„β€β™‚οΈπŸ‡¦πŸ‡ΊSydney, Australia

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