Problem/Motivation

\Drupal\plugin\Plugin\OperationsProviderPluginManagerTrait requires array access to read from plugin definitions. This breaks if the definitions are not arrays, or if they are arrays, but use different keys.

Proposed resolution

Ensure plugin definitions are typed using \Drupal\plugin\PluginType\PluginTypeInterface::ensureTypedPluginDefinition() prior to getting the operations provider class name.

Remaining tasks

None.

User interface changes

None.

API changes

None.

Data model changes

None.

CommentFileSizeAuthor
#2 plugin_2625864_2.patch7.95 KBxano

Comments

Xano created an issue. See original summary.

xano’s picture

Status: Active » Needs review
StatusFileSize
new7.95 KB
xano’s picture

Status: Needs review » Fixed

  • Xano committed dbdafc5 on 8.x-2.x
    Issue #2625864 by Xano: PluginOperationsProviderPluginManagerTrait...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.