Skip to content

Commit 33446d1

Browse files
tuanalumixabbuh
authored andcommitted
remove part about adding extension
I do not really understand this paragraph and did not follow it, but the `constraints` option still works. So I believe it is something historical.
1 parent 6d4cef2 commit 33446d1

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

validation.rst

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -509,14 +509,6 @@ of the form fields::
509509
;
510510
}
511511

512-
The ``constraints`` option is only available if the ``ValidatorExtension``
513-
was enabled through the form factory builder::
514-
515-
Forms::createFormFactoryBuilder()
516-
->addExtension(new ValidatorExtension(Validation::createValidator()))
517-
->getFormFactory()
518-
;
519-
520512
.. index::
521513
single: Validation; Constraint targets
522514

0 commit comments

Comments
 (0)