Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 69cebea

Browse filesBrowse files
committed
minor #11040 Documented the missing validation.static_method option (javiereguiluz)
This PR was squashed before being merged into the 3.4 branch (closes #11040). Discussion ---------- Documented the missing validation.static_method option As reported in #7525. Commits ------- 5970fba Documented the missing validation.static_method option
2 parents 4e0e3b0 + 5970fba commit 69cebea
Copy full SHA for 69cebea

File tree

Expand file treeCollapse file tree

1 file changed

+11
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+11
-0
lines changed

‎reference/configuration/framework.rst

Copy file name to clipboardExpand all lines: reference/configuration/framework.rst
+11Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ Configuration
189189

190190
* :ref:`paths <reference-validation-mapping-paths>`
191191

192+
* `static_method`_
192193
* `strict_email`_
193194
* `translation_domain`_
194195

@@ -1745,6 +1746,16 @@ translation_domain
17451746
The translation domain that is used when translating validation constraint
17461747
error messages.
17471748

1749+
static_method
1750+
.............
1751+
1752+
**type**: ``string | array`` **default**: ``['loadValidatorMetadata']``
1753+
1754+
Defines the name of the static method which is called to load the validation
1755+
metadata of the class. You can define an array of strings with the names of
1756+
several methods. In that case, all of them will be called in that order to load
1757+
the metadata.
1758+
17481759
strict_email
17491760
............
17501761

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.