From 7c912614b8a80c1e69c6122e361f92da7c2017de Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Tue, 3 Oct 2017 15:24:02 +0200 Subject: [PATCH] Fixed the default value of framework.form.enabled --- reference/configuration/framework.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/reference/configuration/framework.rst b/reference/configuration/framework.rst index c9ecfa4800b..3daaab375c4 100644 --- a/reference/configuration/framework.rst +++ b/reference/configuration/framework.rst @@ -389,12 +389,15 @@ form enabled ....... -**type**: ``boolean`` **default**: ``false`` +**type**: ``boolean`` **default**: (see explanation below) 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 performance because less services will be loaded into the container. +The default value is ``true`` when the project uses ``symfony/symfony`` as a +dependency. Otherwise, it defaults to ``false``. + This option will automatically be set to ``true`` when one of the child settings is configured.