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.
188188http_method_override
189189~~~~~~~~~~~~~~~~~~~~
190190
191- **type **: ``boolean `` **default **: `` true ``
191+ **type **: ``boolean `` **default **: (see explanation below)
192192
193193This determines whether the ``_method `` request parameter is used as the
194194intended HTTP method on POST requests. If enabled, the
195195:method: `Request::enableHttpMethodParameterOverride <Symfony\\ Component\\ HttpFoundation\\ Request::enableHttpMethodParameterOverride> `
196196method gets called automatically. It becomes the service container parameter
197197named ``kernel.http_method_override ``.
198198
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+
199206.. seealso ::
200207
201208 :ref: `Changing the Action and HTTP Method <forms-change-action-method >` of
You can’t perform that action at this time.
0 commit comments