You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These classes have been marked as deprecated in TYPO3 v13 and will be
removed in v14:
\TYPO3\CMS\Fluid\View\StandaloneView
\TYPO3\CMS\Fluid\View\TemplateView
\TYPO3\CMS\Fluid\View\AbstractTemplateView
\TYPO3\CMS\Extbase\Mvc\View\ViewResolverInterface
\TYPO3\CMS\Extbase\Mvc\View\GenericViewResolver
This change is related to the general View refactoring <feature-104773-1724939348>.
Impact
Using one of the above classes triggers a deprecation level log entry.
Affected installations
Instances with extensions that create view instances of \TYPO3\CMS\Fluid\View\StandaloneView or \TYPO3\CMS\Fluid\View\TemplateView are affected. The extension scanner
will find possible candidates.
Migration
Extensions should no longer directly instantiate own views, but should
get \TYPO3\CMS\Core\View\ViewFactoryInterface injected and use create() to retrieve a view.
Within Extbase, ActionController->defaultViewObjectName should only be
set to Extbase JsonView if needed, or not set at all. Custom view
implementations should implement an own \TYPO3\CMS\Core\View\ViewFactoryInterface and configure controllers to
inject an instance, or can set $this->defaultViewObjectName = JsonView::class in a custom __construct().
PHP-API, PartiallyScanned, ext:core
The text was updated successfully, but these errors were encountered:
Deprecation: #104773 - Custom Fluid views and Extbase
https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/13.3/Deprecation-104773-CustomFluidViewsAndExtbase.html
Deprecation: #104773 - Custom Fluid views and Extbase
See 104773
Description
These classes have been marked as deprecated in TYPO3 v13 and will be
removed in v14:
\TYPO3\CMS\Fluid\View\StandaloneView
\TYPO3\CMS\Fluid\View\TemplateView
\TYPO3\CMS\Fluid\View\AbstractTemplateView
\TYPO3\CMS\Extbase\Mvc\View\ViewResolverInterface
\TYPO3\CMS\Extbase\Mvc\View\GenericViewResolver
This change is related to the general
View refactoring <feature-104773-1724939348>
.Impact
Using one of the above classes triggers a deprecation level log entry.
Affected installations
Instances with extensions that create view instances of
\TYPO3\CMS\Fluid\View\StandaloneView
or\TYPO3\CMS\Fluid\View\TemplateView
are affected. The extension scannerwill find possible candidates.
Migration
Extensions should no longer directly instantiate own views, but should
get
\TYPO3\CMS\Core\View\ViewFactoryInterface
injected and usecreate()
to retrieve a view.Within Extbase,
ActionController->defaultViewObjectName
should only beset to Extbase
JsonView
if needed, or not set at all. Custom viewimplementations should implement an own
\TYPO3\CMS\Core\View\ViewFactoryInterface
and configure controllers toinject an instance, or can set
$this->defaultViewObjectName = JsonView::class
in a custom__construct()
.PHP-API, PartiallyScanned, ext:core
The text was updated successfully, but these errors were encountered: