[TASK] Decouple adminPanel from frontend
[Packages/TYPO3.CMS.git] / typo3 / sysext / adminpanel / Configuration / RequestMiddlewares.php
1 <?php
2 /**
3 * An array consisting of implementations of middlewares for a middleware stack to be registered
4 * 'stackname' => [
5 * 'middleware-identifier' => [
6 * 'target' => classname or callable
7 * 'before/after' => array of dependencies
8 * ]
9 * ]
10 */
11 return [
12 'frontend' => [
13 'typo3/cms-adminpanel/initiator' => [
14 'target' => \TYPO3\CMS\Adminpanel\Middleware\AdminPanelInitiator::class,
15 'after' => [
16 'typo3/cms-frontend/tsfe',
17 'typo3/cms-frontend/authentication',
18 'typo3/cms-frontend/backend-user-authentication',
19 ]
20 ],
21 ]
22 ];