Closed (fixed)
Project:
Commerce Core
Version:
8.x-2.x-dev
Component:
Developer experience
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
13 Jun 2017 at 15:41 UTC
Updated:
30 Jun 2017 at 15:29 UTC
Jump to comment: Most recent
Comments
Comment #3
bojanz commentedDone.
Comment #4
joachim commentedDoes this change the API for plugins that are intended to be referenced in fields of this type?
I saw in the latest beta code that plugins need to implement Drupal\Core\Plugin\PluginFormInterface to get a configuration form to show below the field.
I no longer see that check anywhere in the code in HEAD.
Comment #5
joachim commentedI'm getting a crash for a missing method getConfiguration() -- is it the case that the field type expects plugins to implement ConfigurablePluginInterface? Should that be checked for?
Comment #6
bojanz commentedYes, plugin_select only supports plugins that implement ConfigurablePluginInterface (we never have or had one that doesn't).
Let's add that check in a separate issue (an exception thrown in buildForm()), no need to do it here.
Comment #7
joachim commentedDone: #2886812: PluginSelectWidget should support plugins which don't implement PluginFormInterface.