[TASK] Rename PageParameterValidator middleware
[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 /** internal: do not use or reference this middleware in your own code */
15 'typo3/cms-frontend/timetracker' => [
16 'target' => \TYPO3\CMS\Frontend\Middleware\TimeTrackerInitialization::class,
17 ],
18 /** internal: do not use or reference this middleware in your own code */
19 'typo3/cms-core/normalized-params-attribute' => [
20 'target' => \TYPO3\CMS\Core\Middleware\NormalizedParamsAttribute::class,
21 'after' => [
22 'typo3/cms-frontend/timetracker',
23 ]
24 ],
25 /** internal: do not use or reference this middleware in your own code, as this will be possibly be removed */
26 'typo3/cms-frontend/preprocessing' => [
27 'target' => \TYPO3\CMS\Frontend\Middleware\PreprocessRequestHook::class,
28 'after' => [
29 'typo3/cms-core/normalized-params-attribute',
30 ]
31 ],
32 /** internal: do not use or reference this middleware in your own code, as this will be possibly be removed */
33 'typo3/cms-frontend/eid' => [
34 'target' => \TYPO3\CMS\Frontend\Middleware\EidHandler::class,
35 'after' => [
36 'typo3/cms-frontend/preprocessing'
37 ]
38 ],
39 'typo3/cms-frontend/maintenance-mode' => [
40 'target' => \TYPO3\CMS\Frontend\Middleware\MaintenanceMode::class,
41 'after' => [
42 'typo3/cms-core/normalized-params-attribute',
43 'typo3/cms-frontend/eid'
44 ]
45 ],
46 /** internal: do not use or reference this middleware in your own code, as this will be possibly be removed */
47 'typo3/cms-frontend/content-length-headers' => [
48 'target' => \TYPO3\CMS\Frontend\Middleware\ContentLengthResponseHeader::class,
49 'after' => [
50 'typo3/cms-frontend/maintenance-mode'
51 ]
52 ],
53 /** internal: do not use or reference this middleware in your own code, as this will be possibly be removed */
54 'typo3/cms-frontend/tsfe' => [
55 'target' => \TYPO3\CMS\Frontend\Middleware\TypoScriptFrontendInitialization::class,
56 'after' => [
57 'typo3/cms-frontend/eid',
58 ]
59 ],
60 /** internal: do not use or reference this middleware in your own code, as this will be possibly be removed */
61 'typo3/cms-frontend/output-compression' => [
62 'target' => \TYPO3\CMS\Frontend\Middleware\OutputCompression::class,
63 'after' => [
64 'typo3/cms-frontend/tsfe',
65 ]
66 ],
67 'typo3/cms-frontend/authentication' => [
68 'target' => \TYPO3\CMS\Frontend\Middleware\FrontendUserAuthenticator::class,
69 'after' => [
70 'typo3/cms-frontend/tsfe',
71 ]
72 ],
73 'typo3/cms-frontend/backend-user-authentication' => [
74 'target' => \TYPO3\CMS\Frontend\Middleware\BackendUserAuthenticator::class,
75 'after' => [
76 'typo3/cms-frontend/tsfe',
77 ]
78 ],
79 'typo3/cms-frontend/site' => [
80 'target' => \TYPO3\CMS\Frontend\Middleware\SiteResolver::class,
81 'after' => [
82 'typo3/cms-core/normalized-params-attribute',
83 'typo3/cms-frontend/tsfe',
84 'typo3/cms-frontend/authentication',
85 'typo3/cms-frontend/backend-user-authentication',
86 ],
87 'before' => [
88 'typo3/cms-frontend/page-resolver'
89 ]
90 ],
91 'typo3/cms-frontend/static-route-resolver' => [
92 'target' => \TYPO3\CMS\Frontend\Middleware\StaticRouteResolver::class,
93 'after' => [
94 'typo3/cms-frontend/site',
95 ],
96 'before' => [
97 'typo3/cms-frontend/page-resolver'
98 ]
99 ],
100 'typo3/cms-frontend/page-resolver' => [
101 'target' => \TYPO3\CMS\Frontend\Middleware\PageResolver::class,
102 'after' => [
103 'typo3/cms-frontend/tsfe',
104 'typo3/cms-frontend/authentication',
105 'typo3/cms-frontend/backend-user-authentication',
106 'typo3/cms-frontend/site',
107 ]
108 ],
109 'typo3/cms-frontend/page-argument-validator' => [
110 'target' => \TYPO3\CMS\Frontend\Middleware\PageArgumentValidator::class,
111 'after' => [
112 'typo3/cms-frontend/page-resolver',
113 ],
114 'before' => [
115 'typo3/cms-frontend/prepare-tsfe-rendering',
116 ]
117 ],
118 /** internal: do not use or reference this middleware in your own code, as this will be possibly be removed */
119 'typo3/cms-frontend/prepare-tsfe-rendering' => [
120 'target' => \TYPO3\CMS\Frontend\Middleware\PrepareTypoScriptFrontendRendering::class,
121 'after' => [
122 'typo3/cms-frontend/page-argument-validator',
123 ]
124 ],
125 /** internal: do not use or reference this middleware in your own code, as this will be possibly be removed */
126 'typo3/cms-frontend/shortcut-and-mountpoint-redirect' => [
127 'target' => \TYPO3\CMS\Frontend\Middleware\ShortcutAndMountPointRedirect::class,
128 'after' => [
129 'typo3/cms-frontend/prepare-tsfe-rendering',
130 ],
131 'before' => [
132 'typo3/cms-frontend/content-length-headers',
133 ],
134 ],
135 ]
136 ];