Deprecation: #96996 - Deprecate TypoScriptFrontendController->checkEnableFields¶
See forge#96996
Description¶
The TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->checkEnableFields()
method has been deprecated in favour of the new TYPO3\CMS\Core\Domain\Access\RecordAccessVoter
component.
Impact¶
TypoScriptFrontendController->checkEnableFields()
will trigger a PHP E_USER_DEPRECATED
error
when called. The extension scanner will report usages as weak match.
Affected Installations¶
All installations calling TypoScriptFrontendController->checkEnableFields()
in custom extension code.
Migration¶
Replace all usages of the deprecated method. Use the RecordAccessVoter
component instead, e.g. RecordAccessVoter->accessGranted()
.