FocalPointImageWidget misses SvgImageWidget def

Created on 10 July 2024, 6 months ago

Problem/Motivation

Error: Class "Drupal\focal_point\Plugin\Field\FieldWidget\SvgImageWidget" not found in include() (Line 23 in /web/modules/contrib/focal_point/src/Plugin/Field/FieldWidget/FocalPointImageWidget.php)

Steps to reproduce

Try to open media in any media entity browser, where focal point is configured

Proposed resolution

add:

use Drupal\svg_image\Plugin\Field\FieldWidget\SvgImageWidget;

to /web/modules/contrib/focal_point/src/Plugin/Field/FieldWidget/FocalPointImageWidget.php

🐛 Bug report
Status

Closed: outdated

Version

2.1

Component

Other Code

Created by

🇩🇪Germany Schoenef Unna

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

Comments & Activities

Production build 0.71.5 2024