Closed (fixed)
Project:
Domain
Version:
3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
23 Oct 2025 at 14:23 UTC
Updated:
6 Nov 2025 at 16:04 UTC
Jump to comment: Most recent
Controllers that extend ControllerBase cannot promote the properties defined in ControllerBase.
The documentation for ControllerBase suggests it is used for simple cases only, so it might be worth dropping the base class to improve maintainability
Remove ControllerBase for complex use cases
None
None
None
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
idebr commentedThe merge request removes ControllerBase for complex use cases
Comment #6
mably commentedMerged! Thanks @idebr.