Can not pass a plugin instance to the reference field

Created on 30 July 2024, 8 months ago
Updated 19 September 2024, 7 months ago

Problem/Motivation

Calling, e.g.

    $entity->set('my_plugin_reference_field', $value);

does not allow the $value to be a plugin instance.

Proposed resolution

Check for plugin class in the PluginReferenceItem::setValue method

🐛 Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

🇧🇪Belgium Grayle

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024