QuickEditMediaEmbed has incomplete annotations

Created on 22 May 2023, about 1 year ago

Problem/Motivation

The \Drupal\quickedit\Plugin\Filter\QuickEditMediaEmbed class extends \Drupal\media\Plugin\Filter\MediaEmbed. The parent class has full annotations, but the extension doesn't. There is no "type" specified nor inherited, which potentially leads to errors like:

Warning: Undefined array key "type" in Drupal\filter\Plugin\FilterBase->getType()

Proposed resolution

Add type = Drupal\filter\Plugin\FilterInterface::TYPE_TRANSFORM_REVERSIBLE to the annotation.

πŸ› Bug report
Status

Closed: won't fix

Version

1.0

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands basvredeling Amsterdam

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

Comments & Activities

Production build 0.69.0 2024