Deprecation: #110148 - Experimental backend ViewHelpers
See forge#110148
Description
The following experimental backend-related Fluid ViewHelpers have been marked as deprecated:
\TYPO3\(CMS\ Fluid\ View Helpers\ Be\ Page Path View Helper <f:)be. page Path> \TYPO3\CMS\ Fluid\ View Helpers\ Be\ Abstract Backend View Helper
The
Page rendered the current page path as displayed in
TYPO3 backend modules. This information is nowadays part of the module doc
header, which is rendered by
\TYPO3\
within the corresponding controller.
The abstract
Abstract provided the helper methods
get and
get. Both are obsolete with
the current
Module view strategy and dependency injection, and
the class is no longer used as a base class within TYPO3 Core.
Impact
Using the
<f: ViewHelper in a Fluid template will trigger a
PHP
E_ error.
Extending
Abstract or calling its methods
get or
get will trigger a PHP
E_ error.
Both classes will be removed in TYPO3 v16.0.
Affected installations
All installations using the
<f: ViewHelper in backend Fluid
templates, or custom backend ViewHelpers extending
Abstract.
The extension scanner reports any usage of the affected classes as strong match.
Migration
For the page path, use the doc header provided by
\TYPO3\ in your backend controller,
which already displays the current page path.
Custom backend ViewHelpers should extend
\TYPO3Fluid\ directly and
retrieve
\TYPO3\ or
\TYPO3\ via dependency injection instead of the
removed helper methods.