[TASK] Use later hook for rendering of adminPanel
[Packages/TYPO3.CMS.git] / typo3 / sysext / adminpanel / ext_localconf.php
1 <?php
2 defined('TYPO3_MODE') or die();
3
4 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['hook_eofe'][] = \TYPO3\CMS\Adminpanel\Hooks\RenderHook::class . '->renderAdminPanel';
5
6 $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['adminpanel']['modules'] = [
7 'preview' => [
8 'module' => \TYPO3\CMS\Adminpanel\Modules\PreviewModule::class,
9 'before' => ['cache'],
10 ],
11 'cache' => [
12 'module' => \TYPO3\CMS\Adminpanel\Modules\CacheModule::class,
13 'after' => ['preview'],
14 ],
15 'edit' => [
16 'module' => \TYPO3\CMS\Adminpanel\Modules\EditModule::class,
17 'after' => ['cache'],
18 ],
19 'tsdebug' => [
20 'module' => \TYPO3\CMS\Adminpanel\Modules\TsDebugModule::class,
21 'after' => ['edit'],
22 ],
23 'info' => [
24 'module' => \TYPO3\CMS\Adminpanel\Modules\InfoModule::class,
25 'after' => ['tsdebug'],
26 ],
27 ];