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