Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2fa2386

Browse files
merorafaelwouterj
authored andcommitted
choice_translation_domain doc fix
"choice_translation_domain" description fixed.
1 parent 3ad5111 commit 2fa2386

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reference/forms/types/entity.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,9 @@ choice_translation_domain
184184
.. versionadded:: 2.7
185185
The ``choice_translation_domain`` option was introduced in Symfony 2.7.
186186

187-
**type**: ``boolean``
187+
**type**: ``boolean`` | ``null`` | ``string``
188188

189-
This option determines whether the translation of the data obtained will be informed domain ``translation_domain``.
189+
If specified ``null`` value, corresponds to parents translation_domain or default domain (messages). If the value is ``string``, corresponds to explicit domain(e.g. ``AcmeStoreBundle``). If the value is ``true``, reuse current ``translation_domain`` and ``false`` to disabled.
190190

191191
translation_domain
192192
~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)