[BUGFIX] Fix timetracker and pre-process middleware sequence
[Packages/TYPO3.CMS.git] / typo3 / sysext / frontend / Configuration / RequestMiddlewares.php
1 <?php
2 /**
3 * An array consisting of implementations of middlewares for a middleware stack to be registered
4 *
5 * 'stackname' => [
6 * 'middleware-identifier' => [
7 * 'target' => classname or callable
8 * 'before/after' => array of dependencies
9 * ]
10 * ]
11 */
12 return [
13 'frontend' => [
14 'typo3/cms-frontend/timetracker' => [
15 'target' => \TYPO3\CMS\Frontend\Middleware\TimeTrackerInitialization::class,
16 ],
17 'typo3/cms-frontend/preprocessing' => [
18 'target' => \TYPO3\CMS\Frontend\Middleware\PreprocessRequestHook::class,
19 'after' => [
20 'typo3/cms-frontend/timetracker'
21 ]
22 ],
23 ]
24 ];