Files
cms-core/Documentation/Changelog/11.4/Deprecation-94991-ExtbaseAbstractView.rst
T

43 lines
1.1 KiB
ReStructuredText

.. include:: /Includes.rst.txt
.. _deprecation-94991:
==========================================
Deprecation: #94991 - Extbase AbstractView
==========================================
See :issue:`94991`
Description
===========
To simplify and streamline Fluid view related class inheritance,
the Extbase class :php:`TYPO3\CMS\Extbase\Mvc\View\AbstractView`
has been marked as deprecated and will be removed in TYPO3 v12.
Impact
======
Extending the class should be avoided. Consuming classes should
directly implement :php:`TYPO3\CMS\Extbase\Mvc\View\ViewInterface`
instead.
Affected Installations
======================
Instances with own Extbase view classes that extend :php:`AbstractView`
are affected, but this is rather uncommon. The extension scanner will
find class usages as a strong match.
Migration
=========
Affected Extbase view classes should implement :php:`ViewInterface` instead
and not extend :php:`AbstractView` anymore. The most simple solution is to
copy the interface implementation from the deprecated :php:`AbstractView` class.
.. index:: Fluid, PHP-API, FullyScanned, ext:extbase