Deprecation: #85806 - Second argument of PageRenderer::addInlineLanguageLabelArray

See forge#85806


The second argument in TYPO3\CMS\Core\Page\PageRenderer::addInlineLanguageLabelArray() has been marked as deprecated.

Setting this (optional) argument to true must be resolved by using the TYPO3\CMS\Core\Localization\LanguageService directly.


Calling the method with an explicitly set second argument will trigger a PHP E_USER_DEPRECATED error.

Affected Installations

Any TYPO3 installation with a custom extension calling the method above with a second method argument.


If the second argument was set to true before, use the TYPO3\CMS\Core\Localization\LanguageService. If the second parameter was set to false before, just remove it from the method call.