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:
\TYPO3\
CMS\ Backend\ Frontend Backend User Authentication::$admin Panel \TYPO3\
CMS\ Backend\ Frontend Backend User Authentication::$ext Admin Config \TYPO3\
CMS\ Backend\ Frontend Backend User Authentication::$ext Adm Enabled \TYPO3\
CMS\ Backend\ Frontend Backend User Authentication:: initialize Admin Panel () \TYPO3\
CMS\ Backend\ Frontend Backend User Authentication:: initialize Frontend Edit () \TYPO3\
CMS\ Backend\ Frontend Backend User Authentication:: is Frontend Editing Active () \TYPO3\
CMS\ Backend\ Frontend Backend User Authentication:: display Admin Panel () \TYPO3\
CMS\ Backend\ Frontend 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¶
\TYPO3\
- useCMS\ Backend\ Frontend Backend User Authentication::$admin Panel Main
of EXT:adminpanel insteadController \TYPO3\
- load directly from TSConfig if neededCMS\ Backend\ Frontend Backend User Authentication::$ext Admin Config \TYPO3\
- check directly against TSConfig if necessaryCMS\ Backend\ Frontend Backend User Authentication::$ext Adm Enabled
Both initialization methods \TYPO3\
and
\TYPO3\
were rewritten as PSR-15 middlewares,
remove any calls as they are not necessary anymore.
\TYPO3\
andCMS\ Backend\ Frontend Backend User Authentication:: is Frontend Editing Active \TYPO3\
- check against TSFE directlyCMS\ Backend\ Frontend Backend User Authentication:: is Admin Panel Visible \TYPO3\
- useCMS\ Backend\ Frontend Backend User Authentication:: display Admin Panel Main
insteadController:: render ()