[TASK] Avoid ObjectManager in ext:form TranslationService
authorChristian Kuhn <lolli@schwarzbu.ch>
Thu, 10 Jun 2021 16:17:53 +0000 (18:17 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 10 Jun 2021 19:25:23 +0000 (21:25 +0200)
commit208bf9e717e151c61d6cbb82cedd04232c5056ce
tree031cba21084d32fd32c36ba1a8f865f940e4f137
parentee8df74345a47409fe5dcaa2e6becb4b61110091
[TASK] Avoid ObjectManager in ext:form TranslationService

Extbase ConfigurationManager is already configured to
be injectable. Use this in TranslationService.

Resolves: #94303
Related: #90803
Releases: master
Change-Id: I6fa2a2e05a2c7b348b411142e8a44c2dad20c3f7
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/69454
Tested-by: core-ci <typo3@b13.com>
Tested-by: Jochen <rothjochen@gmail.com>
Tested-by: Oliver Bartsch <bo@cedev.de>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Jochen <rothjochen@gmail.com>
Reviewed-by: Oliver Bartsch <bo@cedev.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/form/Classes/Service/TranslationService.php
typo3/sysext/form/Tests/Unit/Controller/FormEditorControllerTest.php
typo3/sysext/form/Tests/Unit/Controller/FormManagerControllerTest.php
typo3/sysext/form/Tests/Unit/Domain/Finishers/RedirectFinisherTest.php
typo3/sysext/form/Tests/Unit/Service/TranslationServiceTest.php