plugin methods are called statically which means DI can't be used

Created on 29 August 2025, 19 days ago

Problem/Motivation

All the methods on the plugins are called statically.

This means that DI can't be used on plugins.

It would be better -- and more in line with Drupal conventions -- to instantiate the plugin and call object methods.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Active

Version

2.0

Component

Code: General

Created by

🇬🇧United Kingdom joachim

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

Comments & Activities

Production build 0.71.5 2024