Skip to content

Commit 94ab4f1

Browse files
committed
fix default value for choice_translation_domain of the EntityType
1 parent 0159487 commit 94ab4f1

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

reference/forms/types/entity.rst

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,18 @@ These options inherit from the :doc:`ChoiceType </reference/forms/types/choice>`
258258

259259
.. include:: /reference/forms/types/options/choice_attr.rst.inc
260260

261-
.. include:: /reference/forms/types/options/choice_translation_domain.rst.inc
261+
``choice_translation_domain``
262+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
263+
264+
**type**: ``string``, ``boolean`` or ``null`` **default**: ``false``
265+
266+
This option determines if the choice values should be translated and in which
267+
translation domain.
268+
269+
The values of the ``choice_translation_domain`` option can be ``true`` (reuse the current
270+
translation domain), ``false`` (disable translation), ``null`` (uses the parent translation
271+
domain or the default domain) or a string which represents the exact translation
272+
domain to use.
262273

263274
.. include:: /reference/forms/types/options/expanded.rst.inc
264275

0 commit comments

Comments
 (0)