Deprecation: #85613 - Category Registry¶
See forge#85613
Description¶
With forge#94622 the new TCA type category
has been introduced
as a replacement for the \TYPO3\
.
Therefore, the Category
together with
\TYPO3\
method have been marked as deprecated and will be removed in TYPO3 v12.
The main reasons for this replacement are:
- Using a dedicated type is more intuitive and consistent
- No more
TCA/
are necessary for defining category fieldsOverrides - The new implementation is state of the art (e.g. direct usage of the Doctrine API for automatically adding the database columns)
Impact¶
Defining category fields for tables with
$GLOBALS
or
by calling Extension
will
trigger a PHP E_
error.
The extension scanner will furthermore detect any call to
Extension
and
Category
as strong match and any usage of
$GLOBALS
as weak match.
Affected Installations¶
All installations registering category fields using
Extension
or defining
$GLOBALS
.
Furthermore, all installations, which directly access the Category
.
Migration¶
Directly define category fields in the corresponding TCA, using the category
TCA type. Have a look at the corresponding
changelog, for code
examples.