Breaking: #59659 - Removal of deprecated code in sysext backend¶
See forge#59659
Description¶
Flexforms¶
Flexform xml that still contains the old "<tx_templavoila><title>" code has to be adapted. The "<tx_templavoila>" elements needs to be removed.
Wizard registration¶
Wizard registration in TCA must not contain the "script=some/path/script.php" definition anymore. The new API for registering wizards is to set "module[name]=module_name".
Removed PHP methods¶
AbstractRecordList::writeBottom()
is removed without replacement. The functionality is not needed anymore.SpriteGenerator::setOmmitSpriteNameInIconName()
is removed in favor ofsetOmitSpriteNameInIconName()
DocumentTemplate::isCMlayers()
is removed without replacement. The functionality is obsolete.DocumentTemplate::getFileheader()
is removed. UsegetResourceHeader()
instead.BackendUtility::displayWarningMessages()
is removed without replacement. The functionality was moved to ext:aboutmodules.IconUtility::getIconImage()
is removed without replacement. Use sprite icon API instead.PageLayoutView::getSelectedBackendLayoutUid()
is removed. UseBackendLayoutView::getSelectedCombinedIdentifier()
instead.ClickMenu::menuItemsForClickMenu()
is removed without replacement. The functionality is obsolete.
Removed JS functions¶
showClickmenu_noajax()
is removed. UseClickmenu.ajax = false; showClickmenu_raw();
instead.setLayerObj()
is replaced withClickmenu.populateData()
.hideEmpty()
is replaced withClickmenu.hideAll()
.hideSpecific()
is replaced withClickmenu.hide()
. E.g.Clickmenu.hide('contentMenu1');
showHideSelectorBoxes()
is replaced withtoggleSelectorBoxes()
.
Impact¶
A call to any of the aforementioned methods by third party code will result in a fatal PHP error.
Affected installations¶
Any installation which contains third party code still using these deprecated methods.
Migration¶
Replace the calls with the suggestions outlined above.