Deprecation: #78899 - FormEngine Methods¶
See Issue #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\ColorpickerControllerand backend routewizard_colorpickerTYPO3\CMS\Backend\Form\Wizard\SuggestWizardand templatetypo3/sysext/backend/Resources/Private/Templates/Wizards/SuggestWizard.htmlTYPO3\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 ofdefaultExtrasTCAColorpickerControlleris obsolete with the JavaScript based colorpicker in the backendSuggestWizardhas been merged intoGroupElementdirectly, 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, scriptwizards 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.