Deprecation: #104773 - Custom Fluid views and Extbase
See forge#104773
Description
These classes have been marked as deprecated in TYPO3 v13 and will be removed in v14:
\TYPO3\
CMS\ Fluid\ View\ Standalone View \TYPO3\
CMS\ Fluid\ View\ Template View \TYPO3\
CMS\ Fluid\ View\ Abstract Template View \TYPO3\
CMS\ Extbase\ Mvc\ View\ View Resolver Interface \TYPO3\
CMS\ Extbase\ Mvc\ View\ Generic View Resolver
This change is related to the general View refactoring.
Impact
Using one of the above classes triggers a deprecation level log entry.
Affected installations
Instances with extensions that create view instances of
\Standalone
or
\Template
are affected. The extension
scanner will find possible candidates.
Migration
Extensions should no longer directly instantiate own views, but should get
\TYPO3\
injected and use create
to retrieve a view.
Within Extbase, Action
should only be
set to Extbase Json
if needed, or not set at all. Custom view implementations
should implement an own View
and configure
controllers to inject an instance, or can set $this->default
in a custom __
.