Deprecation: #98303 - Interfaces for PageRepository language overlay hooks

See forge#98303

Description

The interfaces

  • \TYPO3\CMS\Core\Domain\Repository\PageRepositoryGetRecordOverlayHookInterface

  • \TYPO3\CMS\Core\Domain\Repository\PageRepositoryGetPageOverlayHookInterface

for the corresponding hooks

  • $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_page.php']['getRecordOverlay']

  • $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_page.php']['getPageOverlay']

have been marked as deprecated.

Impact

The corresponding hooks have been removed, so the interfaces are not needed anymore, however they are kept for extensions which aim to be compatible with TYPO3 v11 and TYPO3 v12+ at the same time. No deprecation notice is triggered while using in TYPO3 v12+.

Affected installations

TYPO3 installations with custom extensions using these hooks and their interface.

Migration

Migrate to the new PSR-14 events:

  • \TYPO3\CMS\Core\Domain\Event\BeforeRecordLanguageOverlayEvent

  • \TYPO3\CMS\Core\Domain\Event\AfterRecordLanguageOverlayEvent

  • \TYPO3\CMS\Core\Domain\Event\BeforePageLanguageOverlayEvent