Deprecation: #99685 - PageRenderer::removeLineBreaksFromTemplate¶
See forge#99685
Description¶
The following methods have been marked as deprecated and will be removed in TYPO3 v13:
\TYPO3\CMS\Core\Page\PageRenderer::enableRemoveLineBreaksFromTemplate()
\TYPO3\CMS\Core\Page\PageRenderer::disableRemoveLineBreaksFromTemplate()
\TYPO3\CMS\Core\Page\PageRenderer::getRemoveLineBreaksFromTemplate()
The methods provide a means to remove line break characters from the rendered output, what would reduce the size of the response. There are better options available nowadays though and no need to rely on a static code replacement.
Impact¶
Using the methods will raise a deprecation level log entry and will stop working with TYPO3 v13.
Affected installations¶
Instances with extensions that call these methods are affected.
The extension scanner reports shows usages found.