Created on 2 May 2023, almost 2 years ago
Updated 3 July 2024, 9 months ago

Problem/Motivation

The current version of the module doesn't support a deriver. It creates a problem if someone needs to implement a bunch of similar plugins

Steps to reproduce

1. Create a plugin with deriver.
2. Go to the page of the field configuration
3. You will see only 1 your plugin

Proposed resolution

The problem is in how the module builds a list of available plugins. The same problem exists in all other places that use the same workflow.
E.g see the ViewsReferenceItem class from the Drupal\viewsreference\Plugin\Field\FieldType namespace, line 137

The solution is to use derivative id instead plugin id.

πŸ“Œ Task
Status

Needs work

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine _tarik_ Lutsk

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

Comments & Activities

Production build 0.71.5 2024