Make sure the formatter is only used on media images

Created on 14 March 2024, 4 months ago
Updated 16 March 2024, 3 months ago

Problem/Motivation

Currently the FieldFormatter Plugin RiftMediaEntityReferencePictureFormatter can be chosen for every entity reference. We should make sure that this formatter can only be applied to media types that have a source of type image.

Proposed resolution

Implement the method

isApplicable()

to make sure that the underlaying media has an image source.

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany Mef

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024