Remove static create() methods from forms and controllers in favor of using AutowireTrait

Created on 2 August 2025, 10 days ago

Problem/Motivation

Since Drupal 10.2, core has supported automatic autowiring of controller and form dependencies: https://www.drupal.org/node/3395716 β†’

Since our oldest supported core version is 10.4, we should adopt this to greatly reduce dependency injection boilerplate.

πŸ“Œ Task
Status

Active

Version

2.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States phenaproxima Massachusetts

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