Deprecation: #84641 - Deprecated AdminPanel related methods and properties in FrontendBackendUserAuthentication
See forge#84641
Description
The admin panel has been extracted into an own extension. To enable users to de-activate the admin panel completely,
the hard coupling between the extension and other parts of the core had to be resolved. The admin panel now takes care
of its own initialization and provides API methods related to its functionality.
The following API methods and properties located in Frontend have been marked as deprecated:
TYPO3CMSBackendFrontend Backend User Authentication::$admin Panel TYPO3CMSBackendFrontend Backend User Authentication::$ext Admin Config TYPO3CMSBackendFrontend Backend User Authentication::$ext Adm Enabled TYPO3CMSBackendFrontend Backend User Authentication:: initialize Admin Panel () TYPO3CMSBackendFrontend Backend User Authentication:: initialize Frontend Edit () TYPO3CMSBackendFrontend Backend User Authentication:: is Frontend Editing Active () TYPO3CMSBackendFrontend Backend User Authentication:: display Admin Panel () TYPO3CMSBackendFrontend Backend User Authentication:: is Admin Panel Visible ()
Impact
Using any of the methods will trigger a deprecation warning.
Affected Installations
Any installation directly calling one of the mentioned methods or properties.
Migration
TYPO3CMSBackend- useFrontend Backend User Authentication::$admin Panel Mainof EXT:adminpanel insteadController TYPO3CMSBackend- load directly from TSConfig if neededFrontend Backend User Authentication::$ext Admin Config TYPO3CMSBackend- check directly against TSConfig if necessaryFrontend Backend User Authentication::$ext Adm Enabled
Both initialization methods TYPO3CMSBackend and
TYPO3CMSBackend were rewritten as PSR-15 middlewares,
remove any calls as they are not necessary anymore.
TYPO3CMSBackendandFrontend Backend User Authentication:: is Frontend Editing Active TYPO3CMSBackend- check against TSFE directlyFrontend Backend User Authentication:: is Admin Panel Visible TYPO3CMSBackend- useFrontend Backend User Authentication:: display Admin Panel MaininsteadController:: render ()