Deprecation: #72859 - Deprecate methods of DocumentTemplate
See forge#72859
Description
The following methods within Document
have been marked as deprecated:
- viewPageIcon()
- getHeader()
- getResourceHeader()
- header()
- icons()
- t3Button()
- wrapScriptTags()
- loadJavascriptLib()
- getContextMenuCode()
The following property within Document
has been marked as deprecated:
- sectionFlag (is internal)
Impact
Calling any of the methods above will trigger a deprecation log entry.
Affected Installations
Any installation with a 3rd party extension calling one of the methods in its PHP code.
Migration
Instead of
wrap
use
General
.
Instead of
get
use:
$this->getPageRenderer()->loadJquery();
$this->getPageRenderer()->loadRequireJsModule('TYPO3/CMS/Backend/ClickMenu');
Copied!