Switch from registrating widgets through events to using the Drupal Plugin System

Created on 20 May 2025, about 2 months ago

Problem/Motivation

Currently, when a module wants to register their widgets, we have to create a dedicated event subscriber and pass the Widget classes to let the api know, that these widgets exists. This is quite unintuitive.

Instead we should just create a Drupal PluginManager, which automatically crawls each module for existing widgets.

Steps to reproduce

Proposed resolution

Create a Drupal PluginManager, which automatically crawls each module for existing widgets.

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Active

Version

1.0

Component

Code

Created by

🇩🇪Germany Grevil

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024