1808342ba83cbbd034a47f9a6c9f1cf185b1e45c
[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-core/legacy-request-handler-dispatcher' => [
15 'target' => \TYPO3\CMS\Core\Middleware\LegacyRequestHandlerDispatcher::class,
16 ],
17 'typo3/cms-frontend/timetracker' => [
18 'target' => \TYPO3\CMS\Frontend\Middleware\TimeTrackerInitialization::class,
19 'after' => [
20 'typo3/cms-core/legacy-request-handler-dispatcher'
21 ],
22 ],
23 'typo3/cms-frontend/preprocessing' => [
24 'target' => \TYPO3\CMS\Frontend\Middleware\PreprocessRequestHook::class,
25 'after' => [
26 'typo3/cms-frontend/timetracker'
27 ]
28 ],
29 'typo3/cms-frontend/eid' => [
30 'target' => \TYPO3\CMS\Frontend\Middleware\EidHandler::class,
31 'after' => [
32 'typo3/cms-frontend/preprocessing'
33 ]
34 ],
35 'typo3/cms-frontend/content-length-headers' => [
36 'target' => \TYPO3\CMS\Frontend\Middleware\ContentLengthResponseHeader::class,
37 'after' => [
38 'typo3/cms-frontend/eid'
39 ]
40 ],
41 ]
42 ];