File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -188,14 +188,21 @@ bootstrap the Symfony framework on a cache hit.
188
188
http_method_override
189
189
~~~~~~~~~~~~~~~~~~~~
190
190
191
- **type **: ``boolean `` **default **: `` true ``
191
+ **type **: ``boolean `` **default **: (see explanation below)
192
192
193
193
This determines whether the ``_method `` request parameter is used as the
194
194
intended HTTP method on POST requests. If enabled, the
195
195
:method: `Request::enableHttpMethodParameterOverride <Symfony\\ Component\\ HttpFoundation\\ Request::enableHttpMethodParameterOverride> `
196
196
method gets called automatically. It becomes the service container parameter
197
197
named ``kernel.http_method_override ``.
198
198
199
+ The **default value ** is:
200
+
201
+ * ``true ``, if you have an existing application that you've upgraded from an older
202
+ Symfony version without resyncing the :doc: `Symfony Flex </setup/flex >` recipes;
203
+ * ``false ``, if you've created a new Symfony application or updated the Symfony
204
+ Flex recipes. This is also the default value starting from Symfony 7.0.
205
+
199
206
.. seealso ::
200
207
201
208
:ref: `Changing the Action and HTTP Method <forms-change-action-method >` of
You can’t perform that action at this time.
0 commit comments