Review main Merged

71099[TASK] Deprecate service getters in ModuleTemplate

Oli Bartsch CR +2 V +2 Normal +169 −30 updated 09/16/21, 09:37

Commit message

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.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 12