Skip to content

Commit e6aa4f0

Browse files
committed
minor symfony#8979 Fixed the default values for "enabled" option in framework config (javiereguiluz)
This PR was merged into the 4.0 branch. Discussion ---------- Fixed the default values for "enabled" option in framework config This takes over symfony#8468 and it's made on 4.0 branch because this is our first "Flex only" branch in docs. Commits ------- 1ff35b2 Fixed the default values for "enabled" option in framework config
2 parents 8177626 + 1ff35b2 commit e6aa4f0

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

reference/configuration/framework.rst

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ form
389389
enabled
390390
.......
391391

392-
**type**: ``boolean`` **default**: ``false``
392+
**type**: ``boolean`` **default**: ``true`` or ``false`` depending on your installation
393393

394394
Whether to enable the form services or not in the service container. If
395395
you don't use forms, setting this to ``false`` may increase your application's
@@ -420,8 +420,7 @@ csrf_protection
420420
enabled
421421
.......
422422

423-
**type**: ``boolean`` **default**: ``true`` if form support is enabled, ``false``
424-
otherwise
423+
**type**: ``boolean`` **default**: ``true`` or ``false`` depending on your installation
425424

426425
This option can be used to disable CSRF protection on *all* forms. But you
427426
can also :ref:`disable CSRF protection on individual forms <form-csrf-customization>`.
@@ -1464,7 +1463,7 @@ translator
14641463
enabled
14651464
.......
14661465

1467-
**type**: ``boolean`` **default**: ``false``
1466+
**type**: ``boolean`` **default**: ``true`` or ``false`` depending on your installation
14681467

14691468
Whether or not to enable the ``translator`` service in the service container.
14701469

@@ -1532,8 +1531,7 @@ validation
15321531
enabled
15331532
.......
15341533

1535-
**type**: ``boolean`` **default**: ``true`` if :ref:`form support is enabled <reference-form-enabled>`,
1536-
``false`` otherwise
1534+
**type**: ``boolean`` **default**: ``true`` or ``false`` depending on your installation
15371535

15381536
Whether or not to enable validation support.
15391537

@@ -1642,7 +1640,7 @@ serializer
16421640
enabled
16431641
.......
16441642

1645-
**type**: ``boolean`` **default**: ``false``
1643+
**type**: ``boolean`` **default**: ``true`` or ``false`` depending on your installation
16461644

16471645
Whether to enable the ``serializer`` service or not in the service container.
16481646

0 commit comments

Comments
 (0)