Closed (fixed)
Project:
Project Browser
Version:
2.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
2 Aug 2025 at 16:21 UTC
Updated:
18 Aug 2025 at 17:39 UTC
Jump to comment: Most recent
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.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
phenaproximaComment #4
phenaproximaAssigning this one to @tim.plunkett for review, commit, and backport since this is the kind of code clean-up that is firmly in his wheelhouse.
Comment #9
tim.plunkettMerged !847 🎉 (2.1.x)
Merged !854 🎉 (2.0.x)
Love this clean-up/modernization