Update typing for plugin definition to include object

Created on 27 January 2024, 5 months ago
Updated 25 March 2024, 3 months ago

Problem/Motivation

As of #2852656 β†’ , plugins can have object-based definitions. However the typing in the docblocks is set only to array for the $pluginDefinition property of core/lib/Drupal/Component/Plugin/PluginBase.php and the return value of getPluginDefinition in core/lib/Drupal/Component/Plugin/PluginInspectionInterface.php.

Proposed resolution

These docblocks should be updated from array to \Drupal\Component\Plugin\Definition\PluginDefinitionInterface|array.

πŸ› Bug report
Status

Fixed

Version

10.2 ✨

Component
PluginΒ  β†’

Last updated about 17 hours ago

Created by

πŸ‡ΊπŸ‡ΈUnited States jayhuskins

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024