Use a decorator instead of replacing the Image class

Created on 30 November 2017, over 7 years ago
Updated 22 April 2023, about 2 years ago

Now we replace the image class.

I am wondering if this is flexible enough.

What if another contrib module wants to add another layer on top of the Image class?

Shouldn't we introduce a decorator class in media_entity_image or a new contrib module (media_entity_image_decorator) and use that as a dependency of this module?

πŸ“Œ Task
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands ndf Amsterdam

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