1 .. include:: ../../Includes.txt
3 =======================================================================================
4 Deprecation: #85553 - PageRepository language-related methods use null as default value
5 =======================================================================================
12 The second parameter of the following mwthods now has a different default value (:php:`null`) than
13 before (:php:`-1`), to detect if the parameter is omitted or passed in explicitly:
15 * :php:`TYPO3\CMS\Frontend\Page\PageRepository->getPageOverlay()`
16 * :php:`TYPO3\CMS\Frontend\Page\PageRepository->getPagesOverlay()`
22 Calling one of these methods with the second argument with :php:`-1` will trigger a deprecation
26 Affected Installations
27 ======================
29 TYPO3 installations with custom extensions related to language handling.
35 In the unlikely case of directly calling this method with :php:`-1`, it is recommended to remove
36 the second (optional) parameter completely, which will work in TYPO3 v8, v9 and in TYPO3 v10.
38 .. index:: Frontend, PHP-API, NotScanned, ext:frontend