Provide a hook so modules can provide more "derived-from" candidates

Created on 26 September 2020, over 4 years ago
Updated 31 May 2024, 11 months ago

Problem/Motivation

SFP fetches (or hotlinks) live files if they miss from dev.

SFP has some logic builtin for the filename relations of core image files.

Now we have some requests to incorporate more file-is-derived-from logic:

- ✨ WebP support - ImageAPI Optimize WebP Fixed
- πŸ› Webp support Fixed

If Drupal keeps succeeding, more will come.

Proposed resolution

My gut feeling is, to keep code maintainable, we have to provide a extension mechanism to encapsulate such logic.

So let's implement a suitable hook.

We can still bikeshed where the implementation should live.

Remaining tasks

πŸ“Œ Task
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany geek-merlin Freiburg, Germany

Live updates comments and jobs are added and updated live.
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.

Production build 0.71.5 2024