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 @@ -176,14 +176,21 @@ bootstrap the Symfony framework on a cache hit.
176176http_method_override
177177~~~~~~~~~~~~~~~~~~~~
178178
179- **type **: ``boolean `` **default **: `` true ``
179+ **type **: ``boolean `` **default **: (see explanation below)
180180
181181This determines whether the ``_method `` request parameter is used as the
182182intended HTTP method on POST requests. If enabled, the
183183:method: `Request::enableHttpMethodParameterOverride <Symfony\\ Component\\ HttpFoundation\\ Request::enableHttpMethodParameterOverride> `
184184method gets called automatically. It becomes the service container parameter
185185named ``kernel.http_method_override ``.
186186
187+ The **default value ** is:
188+
189+ * ``true ``, if you have an existing application that you've upgraded from an older
190+ Symfony version without resyncing the :doc: `Symfony Flex </setup/flex >` recipes;
191+ * ``false ``, if you've created a new Symfony application or updated the Symfony
192+ Flex recipes. This is also the default value starting from Symfony 7.0.
193+
187194.. seealso ::
188195
189196 :ref: `Changing the Action and HTTP Method <forms-change-action-method >` of
You can’t perform that action at this time.
0 commit comments