8000 minor #9562 remove part about adding extension (tuanalumi) · symfony/symfony-docs@7249580 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7249580

Browse files
committed
< 8000 span class="ws-pre-wrap f5 wb-break-word text-mono prc-Text-Text-0ima0">
minor #9562 remove part about adding extension (tuanalumi)
This PR was submitted for the 3.4 branch but it was merged into the 2.7 branch instead (closes #9562). Discussion ---------- 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. <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- 33446d1 remove part about adding extension
2 parents 6d4cef2 + 33446d1 commit 7249580

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)
0