Breaking: #102793 - PageRepository->enableFields hook removed¶
See forge#102793
Description¶
One of the common PHP APIs used in TYPO3 Core for fetching records is
\TYPO3\CMS\Core\Domain\Repository\PageRepository
. The method
enableFields()
is marked as deprecated, and the according hook
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_page.php']['addEnableColumns']
has been removed.
Impact¶
Hook listeners will not be executed anymore.
Affected installations¶
TYPO3 installations with custom extensions using the mentioned hook.
Migration¶
The hook $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_page.php']['addEnableColumns']
can be replaced by a listener to the newly introduced
PSR-14 event.