[TASK] Deprecate second argument of PageRenderer::addInlineLanguageLabelArray
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Documentation / Changelog / master / Deprecation-85806-DeprecateSecondArgumentOfPageRendereraddInlineLanguageLabelArray.rst
1 .. include:: ../../Includes.txt
2
3 ============================================================================================
4 Deprecation: #85806 - Deprecate second argument of PageRenderer::addInlineLanguageLabelArray
5 ============================================================================================
6
7 See :issue:`85806`
8
9 Description
10 ===========
11
12 The second argument in :php:`TYPO3\CMS\Core\Page\PageRenderer::addInlineLanguageLabelArray()` has been deprecated.
13
14 Setting this (optional) argument to :php:`true` must be resolved by using the :php:`TYPO3\CMS\Core\Localization\LanguageService` directly.
15
16
17 Impact
18 ======
19
20 Calling the method with an explicitly set second argument will trigger a deprecation message.
21
22
23 Affected Installations
24 ======================
25
26 Any TYPO3 installation with a custom extension calling the method above with a second method argument.
27
28
29 Migration
30 =========
31
32 If the second argument was set to :php:`true` before, use the :php:`TYPO3\CMS\Core\Localization\LanguageService`, if the
33 second parameter was set to :php:`false` before, just remove the second argument.
34
35 .. index:: PHP-API, FullyScanned, ext:core