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
Abstractis removed without replacement. The functionality is not needed anymore.Record List:: write Bottom () Spriteis removed in favor ofGenerator:: set Ommit Sprite Name In Icon Name () setOmit Sprite Name In Icon Name () Documentis removed without replacement. The functionality is obsolete.Template:: is CMlayers () Documentis removed. UseTemplate:: get Fileheader () getinstead.Resource Header () Backendis removed without replacement. The functionality was moved to ext:aboutmodules.Utility:: display Warning Messages () Iconis removed without replacement. Use sprite icon API instead.Utility:: get Icon Image () Pageis removed. UseLayout View:: get Selected Backend Layout Uid () Backendinstead.Layout View:: get Selected Combined Identifier () Clickis removed without replacement. The functionality is obsolete.Menu:: menu Items For Click Menu ()
Removed JS functions
showis removed. UseClickmenu_ noajax () Clickmenu.instead.ajax = false; show Clickmenu_ raw (); setis replaced withLayer Obj () Clickmenu..populate Data () hideis replaced withEmpty () Clickmenu..hide All () hideis replaced withSpecific () Clickmenu.. E.g.hide () Clickmenu.hide ('content Menu1'); showis replaced withHide Selector Boxes () toggle.Selector Boxes ()
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.