Plugins setConfiguration should always return void

Created on 17 July 2025, 16 days ago

Problem/Motivation

Base classes and traits of plugins (event, action, and condition) are defined differently, some of them return self. That's not coherent with the setConfiguration of \Drupal\Component\Plugin\ConfigurableInterface.

Proposed resolution

Couldn't find any usage of methods that expect a return value, so let's remove them for ECA 3

📌 Task
Status

Active

Version

3.0

Component

Code

Created by

🇩🇪Germany jurgenhaas Gottmadingen

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

Comments & Activities

Production build 0.71.5 2024