[TASK] Stabilize / Solidify public API of adminPanel 14/57714/2
authorSusanne Moog <susanne.moog@typo3.org>
Sun, 29 Jul 2018 11:27:48 +0000 (13:27 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Sun, 29 Jul 2018 12:49:25 +0000 (14:49 +0200)
commit703b901bbdeb61818cef059f10e56d091b148187
tree6cd59324546d121f83e571ffe0929f276f6aa5a5
parent55b3842a73998dc8a063e80a7f49a8a134309852
[TASK] Stabilize / Solidify public API of adminPanel

* public service classes for extension authors have gotten tests
* exceptions in public API have been made more specific
* non-API has been defined as internal
* API has been cleaned up

Resolves: #85675
Releases: master
Change-Id: Icc9bab027eaca07fccd9368763350487959148a7
Reviewed-on: https://review.typo3.org/57714
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
13 files changed:
typo3/sysext/adminpanel/Classes/Controller/AjaxController.php
typo3/sysext/adminpanel/Classes/Exceptions/InvalidConfigurationException.php [new file with mode: 0644]
typo3/sysext/adminpanel/Classes/Hooks/RenderHook.php
typo3/sysext/adminpanel/Classes/Middleware/AdminPanelInitiator.php
typo3/sysext/adminpanel/Classes/Modules/PreviewModule.php
typo3/sysext/adminpanel/Classes/Repositories/FrontendGroupsRepository.php
typo3/sysext/adminpanel/Classes/Service/ConfigurationService.php
typo3/sysext/adminpanel/Classes/Service/ModuleLoader.php
typo3/sysext/adminpanel/Tests/Unit/Fixtures/DisabledMainModuleFixture.php [new file with mode: 0644]
typo3/sysext/adminpanel/Tests/Unit/Fixtures/MainModuleFixture.php [new file with mode: 0644]
typo3/sysext/adminpanel/Tests/Unit/Fixtures/SubModuleFixture.php [new file with mode: 0644]
typo3/sysext/adminpanel/Tests/Unit/Service/ConfigurationServiceTest.php [new file with mode: 0644]
typo3/sysext/adminpanel/Tests/Unit/Service/ModuleLoaderTest.php [new file with mode: 0644]