[TASK] Deprecate f:be.container ViewHelper
authorChristian Kuhn <lolli@schwarzbu.ch>
Fri, 28 May 2021 17:01:00 +0000 (19:01 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 28 May 2021 19:22:35 +0000 (21:22 +0200)
commit4e8caf792aa3b381fc6d56cb9048043ebdb84491
tree07b1f68cf9094ae0f462ccfcb2e9e71b4ef15437
parent220ac32cd519cfd2aadac9dbcf6a5070c70ce633
[TASK] Deprecate f:be.container ViewHelper

The fluid backend ContainerViewHelper is very similar to the
PageRenderViewHelper, with the exception that container VH
adds a default and empty ModuleTemplate leading to a default
and thus pretty useless docheader.

The main ModuleTemplate logic of backend modules should
be done within controllers and resource registration like
CSS can be done with PageRenderer VH.

The patch deprecates the ContainerViewHelper.

Resolves: #94225
Releases: master
Change-Id: I69f06313f7ba1d647b702572e58eed1394dd1f2c
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/69312
Tested-by: core-ci <typo3@b13.com>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Oliver Bartsch <bo@cedev.de>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Oliver Bartsch <bo@cedev.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Resources/Private/Templates/EmptyModule.html
typo3/sysext/core/Documentation/Changelog/master/Deprecation-94225-FbecontainerViewHelper.rst [new file with mode: 0644]
typo3/sysext/fluid/Classes/ViewHelpers/Be/ContainerViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Be/PageRendererViewHelper.php