[FEATURE] New API for the admin panel
The admin panel consisted of one big god class that contained the complete rendering. The hook to extend the admin panel only allowed to add content but not to add new modules (with expandable headers). The code has been refactored as a first step for a more flexible admin panel: - All modules are now rendered by a class per module - Modules have an interface - Modules can be registered in ext_localconf (and overwritten) using the dependency ordering service for priority - All new classes are strictly typed Related: #84044 Resolves: #84045 Releases: master Change-Id: I124bb503907dcfcbd4425d6f7178b87562d2fda4 Reviewed-on: https://review.typo3.org/55890 Reviewed-by:Frank Naegler <frank.naegler@typo3.org> Tested-by:
TYPO3com <no-reply@typo3.com> Tested-by:
Frank Naegler <frank.naegler@typo3.org> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
Benni Mack <benni@typo3.org>
Showing
- typo3/sysext/core/Documentation/Changelog/master/Deprecation-84045-AdminPanelHookDeprecated.rst 32 additions, 0 deletions...log/master/Deprecation-84045-AdminPanelHookDeprecated.rst
- typo3/sysext/core/Documentation/Changelog/master/Feature-84045-NewAdminPanelModuleAPI.rst 33 additions, 0 deletions...Changelog/master/Feature-84045-NewAdminPanelModuleAPI.rst
- typo3/sysext/frontend/Classes/AdminPanel/AbstractModule.php 80 additions, 0 deletionstypo3/sysext/frontend/Classes/AdminPanel/AbstractModule.php
- typo3/sysext/frontend/Classes/AdminPanel/AdminPanelModuleInterface.php 50 additions, 0 deletions...frontend/Classes/AdminPanel/AdminPanelModuleInterface.php
- typo3/sysext/frontend/Classes/AdminPanel/CacheModule.php 87 additions, 0 deletionstypo3/sysext/frontend/Classes/AdminPanel/CacheModule.php
- typo3/sysext/frontend/Classes/AdminPanel/EditModule.php 136 additions, 0 deletionstypo3/sysext/frontend/Classes/AdminPanel/EditModule.php
- typo3/sysext/frontend/Classes/AdminPanel/InfoModule.php 132 additions, 0 deletionstypo3/sysext/frontend/Classes/AdminPanel/InfoModule.php
- typo3/sysext/frontend/Classes/AdminPanel/PreviewModule.php 165 additions, 0 deletionstypo3/sysext/frontend/Classes/AdminPanel/PreviewModule.php
- typo3/sysext/frontend/Classes/AdminPanel/TsDebugModule.php 140 additions, 0 deletionstypo3/sysext/frontend/Classes/AdminPanel/TsDebugModule.php
- typo3/sysext/frontend/Classes/View/AdminPanelView.php 58 additions, 339 deletionstypo3/sysext/frontend/Classes/View/AdminPanelView.php
- typo3/sysext/frontend/Classes/View/AdminPanelViewHookInterface.php 2 additions, 0 deletions...ext/frontend/Classes/View/AdminPanelViewHookInterface.php
- typo3/sysext/frontend/Tests/Unit/View/AdminPanelViewTest.php 0 additions, 49 deletionstypo3/sysext/frontend/Tests/Unit/View/AdminPanelViewTest.php
- typo3/sysext/frontend/Tests/UnitDeprecated/View/AdminPanelViewTest.php 99 additions, 0 deletions...frontend/Tests/UnitDeprecated/View/AdminPanelViewTest.php
- typo3/sysext/frontend/ext_localconf.php 24 additions, 1 deletiontypo3/sysext/frontend/ext_localconf.php
- typo3/sysext/install/Configuration/ExtensionScanner/Php/ArrayDimensionMatcher.php 6 additions, 0 deletions...figuration/ExtensionScanner/Php/ArrayDimensionMatcher.php
Please register or sign in to comment