Deprecation: #94117 - Register extbase type converters as services
See forge#94117
Description
Because Extbase type converters are no longer registered via
\TYPO3\
but
as container services, also the configuration, such as source
or
target
is now defined in the Services.
.
Therefore, the following configuration related properties and methods
of
\TYPO3\
have
been deprecated:
\TYPO3\
CMS\ Extbase\ Property\ Type Converter\ Abstract Type Converter::$source Types \TYPO3\
CMS\ Extbase\ Property\ Type Converter\ Abstract Type Converter::$target Type \TYPO3\
CMS\ Extbase\ Property\ Type Converter\ Abstract Type Converter::$priority \TYPO3\
CMS\ Extbase\ Property\ Type Converter\ Abstract Type Converter:: get Supported Source Types () \TYPO3\
CMS\ Extbase\ Property\ Type Converter\ Abstract Type Converter:: get Supported Target Type () \TYPO3\
CMS\ Extbase\ Property\ Type Converter\ Abstract Type Converter:: get Priority () \TYPO3\
CMS\ Extbase\ Property\ Type Converter\ Abstract Type Converter:: can Convert From ()
The methods have also been removed from the
Type
, see
changelog.
Impact
Since those properties and methods were important for registering and
configuring type converters but are replaced with type converter registrations
in Services.
, they are now obsolete and without functionality.
If defined in an own type converter, those properties and methods can be removed there as well.
Affected Installations
All installations with custom type converters, extending
Abstract
and relying on those properties and methods.
Migration
In custom type converters, drop mentioned properties and methods and don't access
said properties and methods of
Abstract
from outside.