Deprecation: #96733 - Deprecated TBE_MODULES related functionality¶
See forge#96733
Description¶
Due to the removal of global array $TBE_MODULES
(see breaking changelog),
the following related methods have been deprecated:
TYPO3\CMS\Core\Authentication\BackendUserAuthentication->modAccess()
\TYPO3\CMS\Backend\Utility\BackendUtility::isModuleSetInTBE_MODULES()
Impact¶
Calling mentioned methods will trigger a PHP E_USER_DEPRECATED
error.
The extension scanner will report usages.
Affected Installations¶
All installations calling mentioned methods in custom extension code.
Migration¶
Use the new ModuleProvider
API (see feature changelog) instead.
Replace BackendUserAuthentication->modAccess()
with ModuleProvider->accessGranted()
.
Replace BackendUtility::isModuleSetInTBE_MODULES()
with ModuleProvider->isModuleRegistered()
.