diff --git a/forms.rst b/forms.rst index 93eb622f8a0..b74072212c1 100644 --- a/forms.rst +++ b/forms.rst @@ -783,10 +783,11 @@ option in the options field array:: ->add('task', null, ['attr' => ['maxlength' => 4]]) -.. versionadded:: 4.3 +.. seealso:: - Starting from Symfony 4.3, :doc:`Doctrine ` metadata is introspected - to add :ref:`automatic validation constraints `. + Besides guessing the form type, Symfony also guesses `validation constraints `_ + if you're using a Doctrine entity. Read :ref:`automatic_object_validation` + guide for more information. Unmapped Fields ~~~~~~~~~~~~~~~ diff --git a/reference/configuration/framework.rst b/reference/configuration/framework.rst index b4033d375e4..c23559eeb3b 100644 --- a/reference/configuration/framework.rst +++ b/reference/configuration/framework.rst @@ -1939,7 +1939,7 @@ Whether or not to enable the ``translator`` service in the service container. fallbacks ......... -**type**: ``string|array`` **default**: ``['en']`` +**type**: ``string|array`` **default**: value of `default_locale`_ This option is used when the translation key for the current locale wasn't found. diff --git a/translation.rst b/translation.rst index a9228f3a7ed..29d00a4e3df 100644 --- a/translation.rst +++ b/translation.rst @@ -411,12 +411,6 @@ checks translation resources for several locales: // ... ]); -.. deprecated:: 4.4 - - In Symfony versions before 4.4, the ``fallbacks`` option was initialized to - ``en`` (English) when not configured explicitly. Starting from Symfony 4.4, - this option is initialized to the same value as the ``default_locale`` option. - .. note:: When Symfony can't find a translation in the given locale, it will