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
The method \TYPO3\CMS\Backend\Utility\BackendUtility::getTcaFieldConfiguration
was introduced back in 2010 to add a simple abstraction to access "TCA"
definitions of a field.
However, apart from the set up that it is not part of a flexible API
without knowing the context, it was used seldom in TYPO3 Core.
The method has now been deprecated, as one could and can easily write
the same PHP code with $GLOBALS['TCA'] in mind already (which the
TYPO3 Core already did in several other places).
Now that Schema API was introduced, the last parts have been migrated to
use the new API.
Impact
Calling the PHP method BackendUtility::getTcaFieldConfiguration will
trigger a PHP deprecation warning.
Affected installations
TYPO3 installations with custom extensions using this method.
Migration
Either access $GLOBALS['TCA'] directly (in order to support TYPO3 v12
and TYPO3 v13), or migrate to the new Schema API:
Deprecation: #104304 - BackendUtility::getTcaFieldConfiguration
https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/13.3/Deprecation-104304-BackendUtilitygetTcaFieldConfiguration.html
Deprecation: #104304 - BackendUtility::getTcaFieldConfiguration
See 104304
Description
The method
\TYPO3\CMS\Backend\Utility\BackendUtility::getTcaFieldConfiguration
was introduced back in 2010 to add a simple abstraction to access "TCA"
definitions of a field.
However, apart from the set up that it is not part of a flexible API
without knowing the context, it was used seldom in TYPO3 Core.
The method has now been deprecated, as one could and can easily write
the same PHP code with
$GLOBALS['TCA']
in mind already (which theTYPO3 Core already did in several other places).
Now that Schema API was introduced, the last parts have been migrated to
use the new API.
Impact
Calling the PHP method
BackendUtility::getTcaFieldConfiguration
willtrigger a PHP deprecation warning.
Affected installations
TYPO3 installations with custom extensions using this method.
Migration
Either access
$GLOBALS['TCA']
directly (in order to support TYPO3 v12and TYPO3 v13), or migrate to the new Schema API:
PHP-API, TCA, FullyScanned, ext:backend
The text was updated successfully, but these errors were encountered: