From 0f1f7555205a320f4d60423ef3bdcc9c2920367d Mon Sep 17 00:00:00 2001 From: tuanalumi Date: Fri, 6 Apr 2018 20:33:35 +0700 Subject: [PATCH] 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. --- validation.rst | 8 -------- 1 file changed, 8 deletions(-) diff --git a/validation.rst b/validation.rst index 9b01b6939ed..71568934317 100644 --- a/validation.rst +++ b/validation.rst @@ -504,14 +504,6 @@ of the form fields:: ; } -The ``constraints`` option is only available if the ``ValidatorExtension`` -was enabled through the form factory builder:: - - Forms::createFormFactoryBuilder() - ->addExtension(new ValidatorExtension(Validation::createValidator())) - ->getFormFactory() - ; - .. index:: single: Validation; Constraint targets