Why isn't this using an ImageEffect Plugin, but RouteSubscribers?

Created on 31 October 2024, 15 days ago

Problem/Motivation

Drupal uses ImageEffect or ImageToolkit Plugins to handle image conversions typically. Looking into the code of this module I saw that instead it alters forms and rewrites routes:

TBH I don't understand the reason, why it's solved like this. Looks like wrong approach or am I missing something?
Maybe the maintainers were not aware of these plugins, when this was written initially?

See core for examples:

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇩🇪Germany Anybody Porta Westfalica

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024