Problem/Motivation
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
Proposed resolution
Remove ControllerBase for complex use cases
Remaining tasks
- Write a merge request
- Review
- Commit
User interface changes
None
API changes
None
Data model changes
None
Issue fork domain-3554044
Show commands
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.