---
title: "Breaking: #72392 - Removed deprecated code from DocumentTemplate"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:breaking-72392"
source: "Changelog/8.0/Breaking-72392-RemovedDeprecatedCodeFromDocumentTemplate.rst"
modified: "2026-09-15T10:46:36+00:00"
---

# Breaking: #72392 - Removed deprecated code from DocumentTemplate

See [forge#72392](https://forge.typo3.org/issues/72392)

## Description

Remove deprecated code from DocumentTemplate

The following properties have been removed:

`JScodeLibArray`
`docType`
`inDocStyles`
`endJS`
`bgColor`
`bgColor2`
`bgColor3`
`bgColor4`
`bgColor5`
`bgColor6`
`hoverColor`
`backGroundImage`
`inDocStyles_TBEstyle`
`parseTimeFlag`
`charset`

The following methods have been removed:

`getPageRenderer()`
`wrapClickMenuOnIcon()`
`issueCommand()`
`formatTime()`
`parseTime()`
`spacer()`
`endPageJS()`
`dfw()`
`rfw()`
`table()`
`menuTable()`
`getDynamicTabMenu()`
`getDynTabMenu()`
`getDynTabMenuId()`
`collapseableSection()`

## Impact

Using the methods above directly in any third party extension will result in a fatal error.

## Affected Installations

Instances which use calls to any of the above mentioned methods.

## Migration

For `wrapClickMenuOnIcon()` use `BackendUtility::wrapClickMenuOnIcon()` instead.
For `issueCommand()` use `BackendUtility::getLinkToDataHandlerAction()` instead.
For `formatTime()` and `parseTime()` use the corresponding methods in BackendUtility.
For `rfw()` and `dfw()` use proper HTML directly instead.
For `getDynamicTabMenu()` use `getDynamicTabMenu()` from ModuleTemplate instead.
For `collapseableSection()` use HTML bootstrap classes, localStorage etc.
