Deprecation: #78899 - FormEngine Methods¶
See forge#78899
Description¶
The following methods have been marked as deprecated:
TYPO3\CMS\Core\Database\RelationHandler->readyForInterface()
TYPO3\CMS\Backend\Form\FormDataProvider->sanitizeMaxItems()
TYPO3\CMS\Backend\Utility::getSpecConfParts()
TYPO3\CMS\Backend\Controller\Wizard\ColorpickerController
and backend routewizard_colorpicker
TYPO3\CMS\Backend\Form\Wizard\SuggestWizard
and templatetypo3/sysext/backend/Resources/Private/Templates/Wizards/SuggestWizard.html
TYPO3\CMS\Backend\Form\AbstractNode->getValidationDataAsDataAttribute()
TYPO3\CMS\Backend\Form\Element->renderWizards()
Impact¶
Using above methods will throw a deprecation warning.
Affected Installations¶
Extensions using above methods.
Migration¶
sanitizeMaxItems()
has been merged into calling methods using a default value and sanitizing withMathUtility::forceIntegerInRange()
.readyForInterface()
has been substituted with the easier to parse methodgetResolvedItemArray()
.getSpecConfParts()
is obsolete with the removal ofdefaultExtras
TCAColorpickerController
is obsolete with the JavaScript based colorpicker in the backendSuggestWizard
has been merged intoGroupElement
directly, the standalone class is obsoletegetValidationDataAsDataAttribute()
- usegetValidationDataAsJsonString()
andhtmlspecialchars()
the result or useGeneralUtility::implodeAttributes()
with second argument set to true.renderWizards()
has been substituted with the new APINodeExpansion
. Oldpopup, userFunc, script
wizards are still called and rendered, but the method usage should be avoided and extensions should switch to the new API.
Extensions using above methods should consider to switch away from those methods.