Skip to content

Commit 9b0e108

Browse files
committed
Add a reference to a config option
1 parent f7d8ad5 commit 9b0e108

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

validation/custom_constraint.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ The ``addViolation()`` method call finally adds the violation to the context.
181181
Validation error messages are automatically translated to the current application
182182
locale. If your application doesn't use translations, you can disable this behavior
183183
by calling the ``disableTranslation()`` method of ``ConstraintViolationBuilderInterface``.
184+
See also the :ref:`framework.validation.disable_translation option <reference-validation-disable_translation>`.
184185

185186
.. versionadded:: 6.4
186187

0 commit comments

Comments
 (0)