Skip to content

Fixed the default values for "enabled" option in framework config #8979

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 5, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions reference/configuration/framework.rst
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ form
enabled
.......

**type**: ``boolean`` **default**: ``false``
**type**: ``boolean`` **default**: ``true`` or ``false`` depending on your installation

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

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

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

**type**: ``boolean`` **default**: ``false``
**type**: ``boolean`` **default**: ``true`` or ``false`` depending on your installation

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

Expand Down Expand Up @@ -1532,8 +1531,7 @@ validation
enabled
.......

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

Whether or not to enable validation support.

Expand Down Expand Up @@ -1642,7 +1640,7 @@ serializer
enabled
.......

**type**: ``boolean`` **default**: ``false``
**type**: ``boolean`` **default**: ``true`` or ``false`` depending on your installation

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

Expand Down