Skip to content

Commit 793e9e5

Browse files
author
David Wolter
committed
[FrameworkBundle] Configurable paths for validation files
1 parent c45a7f2 commit 793e9e5

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

reference/configuration/framework.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ Configuration
9393
* :ref:`enable_annotations <reference-validation-enable_annotations>`
9494
* `translation_domain`_
9595
* `strict_email`_
96+
* `mapping`_
97+
* :ref:`paths <reference-validation-mapping-paths>`
9698
* `annotations`_
9799
* :ref:`cache <reference-annotations-cache>`
98100
* `file_cache_dir`_
@@ -1366,6 +1368,19 @@ If this option is enabled, the `egulias/email-validator`_ library will be
13661368
used by the :doc:`/reference/constraints/Email` constraint validator. Otherwise,
13671369
the validator uses a simple regular expression to validate email addresses.
13681370

1371+
mapping
1372+
.......
1373+
1374+
.. _reference-validation-mapping-paths:
1375+
1376+
paths
1377+
"""""
1378+
1379+
**type**: ``array`` **default**: ``[]``
1380+
1381+
This option allows to define an array of paths with files or directories where
1382+
the component will look for additional validation files.
1383+
13691384
annotations
13701385
~~~~~~~~~~~
13711386

@@ -1637,6 +1652,8 @@ Full Default Configuration
16371652
cache: ~
16381653
enable_annotations: false
16391654
translation_domain: validators
1655+
mapping:
1656+
paths: []
16401657
16411658
# annotation configuration
16421659
annotations:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy