Skip to content
Snippets Groups Projects
Commit eb0a656a authored by Oliver Bartsch's avatar Oliver Bartsch Committed by Georg Ringer
Browse files

[TASK] Deprecate service getters in ModuleTemplate

The ModuleTemplate, mostly used in backend controllers
previously featured the getIconFactory() and getPageRenderer()
methods, which exposed internally used services.

Except for a few places, TYPO3 core did no longer use
this getters, since it only hides the dependency to the
corresponding services. Therefore, the getters are
now deprecated. Controllers, relying on the services
have to inject them explicitly.

Resolves: #95235
Releases: master
Change-Id: I92f9546bdfd71f7439e6724af12faefe796182fb
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/71099


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
parent cd14de1f
Branches
Tags
Showing
with 169 additions and 30 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment