[TASK] Avoid ObjectManager in ext:form FormRuntime
Most ObjectManager->get() calls in FormRuntime can be moved to makeInstance() directly without further impact. For FormFactoryInterface, a b/w compat layer is established, but shouldn't be problematic since this will be ArrayFormFactory in almost all cases. Change-Id: I354d582260307986cb386506fa5e006646ca816a Resolves: #94370 Related: #90803 Releases: master Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/69515 Tested-by:core-ci <typo3@b13.com> Tested-by:
Jochen <rothjochen@gmail.com> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Jochen <rothjochen@gmail.com> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch>
Showing
- typo3/sysext/form/Classes/Controller/FormEditorController.php 1 addition, 3 deletions...3/sysext/form/Classes/Controller/FormEditorController.php
- typo3/sysext/form/Classes/Domain/Finishers/FinisherContext.php 4 additions, 17 deletions.../sysext/form/Classes/Domain/Finishers/FinisherContext.php
- typo3/sysext/form/Classes/Domain/Model/FormDefinition.php 11 additions, 7 deletionstypo3/sysext/form/Classes/Domain/Model/FormDefinition.php
- typo3/sysext/form/Classes/Domain/Renderer/FluidFormRenderer.php 1 addition, 1 deletion...sysext/form/Classes/Domain/Renderer/FluidFormRenderer.php
- typo3/sysext/form/Classes/Domain/Runtime/FormRuntime.php 50 additions, 28 deletionstypo3/sysext/form/Classes/Domain/Runtime/FormRuntime.php
- typo3/sysext/form/Classes/ViewHelpers/RenderViewHelper.php 12 additions, 6 deletionstypo3/sysext/form/Classes/ViewHelpers/RenderViewHelper.php
- typo3/sysext/form/Configuration/Services.yaml 12 additions, 0 deletionstypo3/sysext/form/Configuration/Services.yaml
- typo3/sysext/form/Documentation/I/ApiReference/Index.rst 2 additions, 2 deletionstypo3/sysext/form/Documentation/I/ApiReference/Index.rst
- typo3/sysext/form/Documentation/I/Concepts/FrontendRendering/Index.rst 4 additions, 4 deletions...form/Documentation/I/Concepts/FrontendRendering/Index.rst
- typo3/sysext/form/Tests/Unit/Domain/Runtime/FormRuntimeTest.php 10 additions, 26 deletions...sysext/form/Tests/Unit/Domain/Runtime/FormRuntimeTest.php
Please register or sign in to comment