.. include:: /Includes.rst.txt .. _deprecation-85806: ================================================================================== Deprecation: #85806 - Second argument of PageRenderer::addInlineLanguageLabelArray ================================================================================== See :issue:`85806` Description =========== The second argument in :php:`TYPO3\CMS\Core\Page\PageRenderer::addInlineLanguageLabelArray()` has been marked as deprecated. Setting this (optional) argument to :php:`true` must be resolved by using the :php:`TYPO3\CMS\Core\Localization\LanguageService` directly. Impact ====== Calling the method with an explicitly set second argument will trigger a PHP :php:`E_USER_DEPRECATED` error. Affected Installations ====================== Any TYPO3 installation with a custom extension calling the method above with a second method argument. Migration ========= If the second argument was set to :php:`true` before, use the :php:`TYPO3\CMS\Core\Localization\LanguageService`. If the second parameter was set to :php:`false` before, just remove it from the method call. .. index:: PHP-API, FullyScanned, ext:core