Webform module and config export
This commit is contained in:
parent
3e6a5cbed2
commit
0e15467384
1040 changed files with 117682 additions and 0 deletions
1
web/modules/contrib/webform/tests/files/README.txt
Normal file
1
web/modules/contrib/webform/tests/files/README.txt
Normal file
|
@ -0,0 +1 @@
|
|||
Sample files are from: http://techslides.com/sample-files-for-development
|
BIN
web/modules/contrib/webform/tests/files/sample.aac
Normal file
BIN
web/modules/contrib/webform/tests/files/sample.aac
Normal file
Binary file not shown.
BIN
web/modules/contrib/webform/tests/files/sample.ac3
Normal file
BIN
web/modules/contrib/webform/tests/files/sample.ac3
Normal file
Binary file not shown.
263
web/modules/contrib/webform/tests/files/sample.ai
Normal file
263
web/modules/contrib/webform/tests/files/sample.ai
Normal file
File diff suppressed because one or more lines are too long
BIN
web/modules/contrib/webform/tests/files/sample.aiff
Normal file
BIN
web/modules/contrib/webform/tests/files/sample.aiff
Normal file
Binary file not shown.
BIN
web/modules/contrib/webform/tests/files/sample.amr
Normal file
BIN
web/modules/contrib/webform/tests/files/sample.amr
Normal file
Binary file not shown.
BIN
web/modules/contrib/webform/tests/files/sample.au
Normal file
BIN
web/modules/contrib/webform/tests/files/sample.au
Normal file
Binary file not shown.
BIN
web/modules/contrib/webform/tests/files/sample.avi
Normal file
BIN
web/modules/contrib/webform/tests/files/sample.avi
Normal file
Binary file not shown.
3
web/modules/contrib/webform/tests/files/sample.dat
Normal file
3
web/modules/contrib/webform/tests/files/sample.dat
Normal file
|
@ -0,0 +1,3 @@
|
|||
this is a sample dat file
|
||||
it is actually just plain text
|
||||
it has 3 lines
|
BIN
web/modules/contrib/webform/tests/files/sample.doc
Normal file
BIN
web/modules/contrib/webform/tests/files/sample.doc
Normal file
Binary file not shown.
BIN
web/modules/contrib/webform/tests/files/sample.docx
Normal file
BIN
web/modules/contrib/webform/tests/files/sample.docx
Normal file
Binary file not shown.
BIN
web/modules/contrib/webform/tests/files/sample.epub
Normal file
BIN
web/modules/contrib/webform/tests/files/sample.epub
Normal file
Binary file not shown.
BIN
web/modules/contrib/webform/tests/files/sample.flac
Normal file
BIN
web/modules/contrib/webform/tests/files/sample.flac
Normal file
Binary file not shown.
BIN
web/modules/contrib/webform/tests/files/sample.gif
Normal file
BIN
web/modules/contrib/webform/tests/files/sample.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.7 KiB |
11
web/modules/contrib/webform/tests/files/sample.html
Normal file
11
web/modules/contrib/webform/tests/files/sample.html
Normal file
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Title of the document</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
The content of the document......
|
||||
</body>
|
||||
|
||||
</html>
|
BIN
web/modules/contrib/webform/tests/files/sample.jpg
Normal file
BIN
web/modules/contrib/webform/tests/files/sample.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 36 KiB |
31
web/modules/contrib/webform/tests/files/sample.json
Normal file
31
web/modules/contrib/webform/tests/files/sample.json
Normal file
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
"colorsArray":[{
|
||||
"colorName":"red",
|
||||
"hexValue":"#f00"
|
||||
},
|
||||
{
|
||||
"colorName":"green",
|
||||
"hexValue":"#0f0"
|
||||
},
|
||||
{
|
||||
"colorName":"blue",
|
||||
"hexValue":"#00f"
|
||||
},
|
||||
{
|
||||
"colorName":"cyan",
|
||||
"hexValue":"#0ff"
|
||||
},
|
||||
{
|
||||
"colorName":"magenta",
|
||||
"hexValue":"#f0f"
|
||||
},
|
||||
{
|
||||
"colorName":"yellow",
|
||||
"hexValue":"#ff0"
|
||||
},
|
||||
{
|
||||
"colorName":"black",
|
||||
"hexValue":"#000"
|
||||
}
|
||||
]
|
||||
}
|
BIN
web/modules/contrib/webform/tests/files/sample.m4a
Normal file
BIN
web/modules/contrib/webform/tests/files/sample.m4a
Normal file
Binary file not shown.
BIN
web/modules/contrib/webform/tests/files/sample.midi
Normal file
BIN
web/modules/contrib/webform/tests/files/sample.midi
Normal file
Binary file not shown.
BIN
web/modules/contrib/webform/tests/files/sample.mka
Normal file
BIN
web/modules/contrib/webform/tests/files/sample.mka
Normal file
Binary file not shown.
BIN
web/modules/contrib/webform/tests/files/sample.mov
Normal file
BIN
web/modules/contrib/webform/tests/files/sample.mov
Normal file
Binary file not shown.
BIN
web/modules/contrib/webform/tests/files/sample.mp3
Normal file
BIN
web/modules/contrib/webform/tests/files/sample.mp3
Normal file
Binary file not shown.
BIN
web/modules/contrib/webform/tests/files/sample.mp4
Normal file
BIN
web/modules/contrib/webform/tests/files/sample.mp4
Normal file
Binary file not shown.
BIN
web/modules/contrib/webform/tests/files/sample.mpg
Normal file
BIN
web/modules/contrib/webform/tests/files/sample.mpg
Normal file
Binary file not shown.
BIN
web/modules/contrib/webform/tests/files/sample.ogg
Normal file
BIN
web/modules/contrib/webform/tests/files/sample.ogg
Normal file
Binary file not shown.
BIN
web/modules/contrib/webform/tests/files/sample.ogv
Normal file
BIN
web/modules/contrib/webform/tests/files/sample.ogv
Normal file
Binary file not shown.
BIN
web/modules/contrib/webform/tests/files/sample.pdf
Normal file
BIN
web/modules/contrib/webform/tests/files/sample.pdf
Normal file
Binary file not shown.
BIN
web/modules/contrib/webform/tests/files/sample.png
Normal file
BIN
web/modules/contrib/webform/tests/files/sample.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
BIN
web/modules/contrib/webform/tests/files/sample.ppt
Normal file
BIN
web/modules/contrib/webform/tests/files/sample.ppt
Normal file
Binary file not shown.
BIN
web/modules/contrib/webform/tests/files/sample.pptx
Normal file
BIN
web/modules/contrib/webform/tests/files/sample.pptx
Normal file
Binary file not shown.
BIN
web/modules/contrib/webform/tests/files/sample.ra
Normal file
BIN
web/modules/contrib/webform/tests/files/sample.ra
Normal file
Binary file not shown.
69
web/modules/contrib/webform/tests/files/sample.svg
Normal file
69
web/modules/contrib/webform/tests/files/sample.svg
Normal file
|
@ -0,0 +1,69 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://web.resource.org/cc/"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="600"
|
||||
height="600"
|
||||
id="svg2"
|
||||
sodipodi:version="0.32"
|
||||
inkscape:version="0.45.1"
|
||||
sodipodi:docname="Example.svg"
|
||||
inkscape:output_extension="org.inkscape.output.svg.inkscape"
|
||||
sodipodi:docbase="/home/gmaxwell"
|
||||
version="1.0">
|
||||
<metadata
|
||||
id="metadata9">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<sodipodi:namedview
|
||||
inkscape:window-height="620"
|
||||
inkscape:window-width="814"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
guidetolerance="10.0"
|
||||
gridtolerance="10.0"
|
||||
objecttolerance="10.0"
|
||||
borderopacity="1.0"
|
||||
bordercolor="#666666"
|
||||
pagecolor="#ffffff"
|
||||
id="base"
|
||||
width="600px"
|
||||
height="600px"
|
||||
inkscape:zoom="0.35974058"
|
||||
inkscape:cx="50"
|
||||
inkscape:cy="519.04966"
|
||||
inkscape:window-x="483"
|
||||
inkscape:window-y="101"
|
||||
inkscape:current-layer="svg2" />
|
||||
<defs
|
||||
id="defs16" />
|
||||
<g
|
||||
id="g2161"
|
||||
transform="matrix(6.3951354,0,0,6.3951354,-22.626246,-7.1082509)">
|
||||
<path
|
||||
nodetypes="ccccccccccccccccccccccccccccccccccccccc"
|
||||
id="flowRoot1882"
|
||||
d="M 36.009766,9.2505083 C 37.739295,9.4211273 38.305879,11.470697 38.052581,12.935049 C 37.346266,16.153899 36.316821,19.51466 35.445405,22.717701 C 36.091666,24.812224 31.712284,24.008877 33.219932,22.315459 C 34.817041,18.411202 36.011404,13.498336 36.009766,9.2505083 z M 36.009766,2.9926958 C 38.210311,1.2242088 40.996268,9.172757 33.911571,6.1534847 C 33.884619,5.7603019 36.096289,3.3869447 36.009766,2.9926958 z M 41.371094,15.871601 C 41.371094,13.66457 41.371094,11.457539 41.371094,9.250508 C 43.180621,9.4257387 43.963014,11.704559 43.286137,13.215517 C 42.859084,15.059792 42.939241,17.3996 44.601487,18.625335 C 46.710544,19.683477 49.38774,17.353112 48.803268,15.118437 C 48.93196,13.406538 48.236292,11.613848 48.968862,9.9690415 C 51.055097,9.6500357 51.500677,12.487155 50.544985,13.844747 C 50.070023,15.309708 50.857452,16.781898 50.672344,18.239432 C 50.279615,19.94056 48.418404,20.00023 47.0225,20.071868 C 45.478489,20.38194 43.516835,20.791368 42.361947,19.38874 C 41.522514,18.444089 41.211274,17.107671 41.371094,15.871601 z M 61.224609,9.5727739 C 60.41978,11.557552 58.100804,10.235616 56.62767,10.571551 C 53.836862,14.393611 60.920038,13.513667 61.8085,17.011648 C 61.85613,18.933747 60.028359,20.587389 58.129091,20.443312 C 56.904487,20.607229 54.609204,20.982393 54.417879,19.267622 C 55.280609,17.508269 57.336359,19.528803 58.633111,18.8463 C 60.403141,17.99081 59.402232,15.555325 57.728781,15.321475 C 56.550115,14.98135 55.091813,15.225439 54.254747,14.112764 C 53.017669,12.881167 53.392132,10.733148 54.736719,9.7413252 C 56.619172,8.3307396 59.170326,8.9535067 61.224609,9.5727739 z M 66.458984,6.1450396 C 65.368126,7.6333334 67.348936,9.9531574 68.987229,9.0948979 C 69.978133,11.042503 66.524641,10.777931 66.473495,12.430992 C 64.443605,16.101814 68.48273,18.623426 67.571657,20.417528 C 65.440858,20.26155 64.324307,17.844452 64.577433,15.919357 C 64.70847,14.408586 65.055107,12.79361 64.322961,11.373941 C 63.786422,9.5475192 64.150419,7.1452655 65.954233,6.1552477 L 66.206043,6.1203323 L 66.458984,6.1450396 L 66.458984,6.1450396 z " />
|
||||
<path
|
||||
nodetypes="ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"
|
||||
id="flowRoot1890"
|
||||
d="M 10.867188,44.877953 C 6.2812618,42.124849 5.2205914,52.366268 10.409215,49.892431 C 12.389385,49.295568 14.988045,43.912658 10.867188,44.877953 z M 15.167969,43.987328 C 14.919826,46.33724 16.617756,52.554202 12.298734,50.536918 C 9.8041142,52.312916 6.0580855,52.958674 4.5023123,49.583386 C 2.6350454,45.257322 7.3033103,42.298712 11.046443,43.361059 C 15.247185,41.320786 9.4930286,38.338264 7.1068792,40.322138 C 3.4374421,40.01388 7.406407,37.201407 9.3495087,37.962912 C 12.44212,37.877788 15.556534,40.380131 15.171751,43.648912 L 15.169638,43.83797 L 15.167969,43.987328 z M 30.53125,43.553734 C 29.638794,45.911558 32.49467,50.463872 28.779999,51.070944 C 26.888088,47.702306 30.931621,41.190257 25.58365,40.046147 C 20.73931,40.312798 21.252194,45.910871 22.001439,49.154066 C 21.84253,51.828309 18.790577,51.39256 19.585585,48.673738 C 19.851829,45.693864 18.285332,39.630301 20.986983,38.702911 C 23.508461,40.80889 25.761847,35.731906 28.452459,38.686226 C 29.921454,39.793194 30.827618,41.709992 30.53125,43.553734 z M 38.807,49.770223 C 42.369034,50.768974 44.523344,46.328688 43.700521,43.358983 C 40.402775,35.546453 32.491199,44.344131 38.807,49.770223 z M 39.941406,38.034203 C 52.085872,39.705642 43.204854,59.098342 34.688722,48.642968 C 32.591886,44.778031 34.383109,38.440132 39.291369,38.051827 L 39.941406,38.034203 L 39.941406,38.034203 z M 51.660156,34.624046 C 49.815978,37.850583 54.789459,38.666222 55.83437,39.23566 C 54.140746,40.715733 50.093061,40.12158 51.562461,43.76212 C 51.004096,46.980523 52.486847,50.037723 55.670614,50.54595 C 53.547788,53.782616 48.41793,50.035495 49.349973,46.519692 C 50.339877,43.686471 48.78131,40.671166 48.467256,38.48357 C 51.099926,37.413599 47.886512,33.32283 51.660156,34.624046 z M 69.859375,43.553734 C 68.966918,45.911557 71.822794,50.463872 68.108124,51.070944 C 66.216214,47.702306 70.259746,41.190256 64.911775,40.046145 C 60.222418,40.285904 60.439194,45.757728 61.367942,48.953683 C 60.705448,53.064855 57.788626,49.900134 58.838379,47.289738 C 58.969709,43.381174 59.006437,39.455087 58.607404,35.565714 C 59.356025,31.632413 62.368269,34.68013 61.01352,37.194316 C 60.38417,39.302538 61.469087,40.653476 62.996248,38.474829 C 66.202089,36.826154 70.863269,39.826451 69.859375,43.553734 z M 85.410156,44.374046 C 83.244849,47.905533 76.447085,42.456344 75.976013,47.444052 C 76.913541,51.724548 83.275324,48.726196 84.393639,50.133773 C 82.109855,53.525123 76.421339,51.860111 74.285335,49.01336 C 71.258247,44.729984 74.614013,37.166516 80.254289,37.96756 C 83.286958,38.284495 85.833914,41.310745 85.410156,44.374046 z M 83.253906,43.741234 C 84.431319,39.039614 74.594812,38.687325 76.291886,43.335226 C 78.284783,44.796048 81.032856,43.090943 83.253906,43.741234 z M 96.554688,40.366234 C 93.290612,38.6882 90.622217,42.519635 90.728522,45.492665 C 90.881925,47.333676 92.330286,52.144465 89.028751,50.905988 C 88.95673,46.763963 88.353312,42.447207 89.31721,38.336643 C 91.040471,38.503437 92.207514,40.668181 93.421468,38.208298 C 94.902478,37.44973 97.690944,38.263668 96.554688,40.366234 z " />
|
||||
<path
|
||||
style="fill:#ff0000"
|
||||
nodetypes="ccccccccccccccccccccccccccccccccccccccccccccccccccccc"
|
||||
id="flowRoot1898"
|
||||
d="M 17.026327,63.789847 C 0.7506376,64.058469 13.88279,66.387154 13.113883,69.323258 C 8.0472417,70.287093 3.5936285,63.565714 6.8090451,59.370548 C 8.7591553,55.717791 15.269922,55.198361 16.902068,59.393261 C 17.532581,60.758947 17.628237,62.396589 17.026327,63.789847 z M 15.306463,62.656109 C 18.852566,58.713773 7.6543584,56.609143 10.765803,61.304742 C 12.124789,62.217715 13.961359,61.705342 15.306463,62.656109 z M 31.307931,62.391383 C 27.130518,63.524026 24.669863,68.663004 27.470717,72.229472 C 25.946657,74.052316 24.253697,71.076237 24.857281,69.636909 C 23.737444,67.038428 17.399862,72.254246 19.386636,68.888657 C 23.159719,67.551193 22.398496,63.711301 22.06067,60.848671 C 24.064085,60.375294 24.370376,65.772689 27.167918,63.326048 C 28.350126,62.546369 29.927362,61.067531 31.307931,62.391383 z M 37.66875,70.598623 C 33.467314,66.62264 32.517064,77.972723 37.30626,74.466636 C 38.742523,73.853608 40.55904,70.38932 37.66875,70.598623 z M 41.677321,70.973131 C 42.340669,75.308182 36.926157,78.361257 33.331921,76.223155 C 29.43435,74.893988 30.618698,67.677232 35.003806,68.567885 C 37.137393,70.592854 42.140265,67.002221 37.656192,66.290007 C 35.242233,65.914214 35.166503,62.640757 38.036954,63.926404 C 40.847923,64.744926 43.227838,68.124735 41.677321,70.973131 z M 62.379099,76.647079 C 62.007404,78.560417 61.161437,84.034535 58.890565,82.010019 C 59.769679,79.039958 62.536382,72.229115 56.947899,72.765789 C 53.790416,73.570863 54.908257,80.968388 51.529286,79.496859 C 51.707831,76.559817 55.858125,71.896837 50.8321,70.678504 C 45.898113,69.907818 47.485944,75.735824 45.286883,78.034703 C 42.916393,76.333396 45.470823,71.647155 46.624124,69.414735 C 50.919507,67.906486 63.618534,70.878704 62.379099,76.647079 z M 66.426447,83.84905 C 67.616398,85.777591 62.114624,94.492698 62.351124,90.31711 C 63.791684,86.581961 65.730376,78.000636 67.391891,74.85575 C 71.027815,73.781175 76.383067,75.350289 76.591972,79.751898 C 77.048545,83.793048 73.066803,88.429945 68.842187,86.765936 C 67.624386,86.282034 66.56741,85.195132 66.426447,83.84905 z M 74.086569,81.803435 C 76.851893,78.050524 69.264402,74.310256 67.560734,78.378191 C 65.893402,80.594099 67.255719,83.775746 69.700555,84.718558 C 72.028708,85.902224 73.688639,83.888662 74.086569,81.803435 z M 82.318799,73.124577 C 84.30523,75.487059 81.655015,88.448086 78.247183,87.275736 C 78.991935,82.387828 81.291029,77.949394 82.318799,73.124577 z M 95.001985,87.684695 C 78.726298,87.953319 91.858449,90.281999 91.089542,93.218107 C 86.0229,94.18194 81.569287,87.460562 84.784701,83.265394 C 86.734814,79.612637 93.245582,79.09321 94.877729,83.28811 C 95.508245,84.653796 95.603892,86.291438 95.001985,87.684695 z M 93.282122,86.550957 C 96.828223,82.608621 85.630017,80.503993 88.741461,85.199592 C 90.100447,86.112565 91.937018,85.600192 93.282122,86.550957 z " />
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 9.8 KiB |
BIN
web/modules/contrib/webform/tests/files/sample.tiff
Normal file
BIN
web/modules/contrib/webform/tests/files/sample.tiff
Normal file
Binary file not shown.
2
web/modules/contrib/webform/tests/files/sample.txt
Normal file
2
web/modules/contrib/webform/tests/files/sample.txt
Normal file
|
@ -0,0 +1,2 @@
|
|||
this is a sample txt file
|
||||
it has two lines
|
BIN
web/modules/contrib/webform/tests/files/sample.voc
Normal file
BIN
web/modules/contrib/webform/tests/files/sample.voc
Normal file
Binary file not shown.
BIN
web/modules/contrib/webform/tests/files/sample.wav
Normal file
BIN
web/modules/contrib/webform/tests/files/sample.wav
Normal file
Binary file not shown.
BIN
web/modules/contrib/webform/tests/files/sample.webm
Normal file
BIN
web/modules/contrib/webform/tests/files/sample.webm
Normal file
Binary file not shown.
BIN
web/modules/contrib/webform/tests/files/sample.webp
Normal file
BIN
web/modules/contrib/webform/tests/files/sample.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 30 KiB |
BIN
web/modules/contrib/webform/tests/files/sample.wma
Normal file
BIN
web/modules/contrib/webform/tests/files/sample.wma
Normal file
Binary file not shown.
120
web/modules/contrib/webform/tests/files/sample.xml
Normal file
120
web/modules/contrib/webform/tests/files/sample.xml
Normal file
|
@ -0,0 +1,120 @@
|
|||
<?xml version="1.0"?>
|
||||
<catalog>
|
||||
<book id="bk101">
|
||||
<author>Gambardella, Matthew</author>
|
||||
<title>XML Developer's Guide</title>
|
||||
<genre>Computer</genre>
|
||||
<price>44.95</price>
|
||||
<publish_date>2000-10-01</publish_date>
|
||||
<description>An in-depth look at creating applications
|
||||
with XML.</description>
|
||||
</book>
|
||||
<book id="bk102">
|
||||
<author>Ralls, Kim</author>
|
||||
<title>Midnight Rain</title>
|
||||
<genre>Fantasy</genre>
|
||||
<price>5.95</price>
|
||||
<publish_date>2000-12-16</publish_date>
|
||||
<description>A former architect battles corporate zombies,
|
||||
an evil sorceress, and her own childhood to become queen
|
||||
of the world.</description>
|
||||
</book>
|
||||
<book id="bk103">
|
||||
<author>Corets, Eva</author>
|
||||
<title>Maeve Ascendant</title>
|
||||
<genre>Fantasy</genre>
|
||||
<price>5.95</price>
|
||||
<publish_date>2000-11-17</publish_date>
|
||||
<description>After the collapse of a nanotechnology
|
||||
society in England, the young survivors lay the
|
||||
foundation for a new society.</description>
|
||||
</book>
|
||||
<book id="bk104">
|
||||
<author>Corets, Eva</author>
|
||||
<title>Oberon's Legacy</title>
|
||||
<genre>Fantasy</genre>
|
||||
<price>5.95</price>
|
||||
<publish_date>2001-03-10</publish_date>
|
||||
<description>In post-apocalypse England, the mysterious
|
||||
agent known only as Oberon helps to create a new life
|
||||
for the inhabitants of London. Sequel to Maeve
|
||||
Ascendant.</description>
|
||||
</book>
|
||||
<book id="bk105">
|
||||
<author>Corets, Eva</author>
|
||||
<title>The Sundered Grail</title>
|
||||
<genre>Fantasy</genre>
|
||||
<price>5.95</price>
|
||||
<publish_date>2001-09-10</publish_date>
|
||||
<description>The two daughters of Maeve, half-sisters,
|
||||
battle one another for control of England. Sequel to
|
||||
Oberon's Legacy.</description>
|
||||
</book>
|
||||
<book id="bk106">
|
||||
<author>Randall, Cynthia</author>
|
||||
<title>Lover Birds</title>
|
||||
<genre>Romance</genre>
|
||||
<price>4.95</price>
|
||||
<publish_date>2000-09-02</publish_date>
|
||||
<description>When Carla meets Paul at an ornithology
|
||||
conference, tempers fly as feathers get ruffled.</description>
|
||||
</book>
|
||||
<book id="bk107">
|
||||
<author>Thurman, Paula</author>
|
||||
<title>Splish Splash</title>
|
||||
<genre>Romance</genre>
|
||||
<price>4.95</price>
|
||||
<publish_date>2000-11-02</publish_date>
|
||||
<description>A deep sea diver finds true love twenty
|
||||
thousand leagues beneath the sea.</description>
|
||||
</book>
|
||||
<book id="bk108">
|
||||
<author>Knorr, Stefan</author>
|
||||
<title>Creepy Crawlies</title>
|
||||
<genre>Horror</genre>
|
||||
<price>4.95</price>
|
||||
<publish_date>2000-12-06</publish_date>
|
||||
<description>An anthology of horror stories about roaches,
|
||||
centipedes, scorpions and other insects.</description>
|
||||
</book>
|
||||
<book id="bk109">
|
||||
<author>Kress, Peter</author>
|
||||
<title>Paradox Lost</title>
|
||||
<genre>Science Fiction</genre>
|
||||
<price>6.95</price>
|
||||
<publish_date>2000-11-02</publish_date>
|
||||
<description>After an inadvertent trip through a Heisenberg
|
||||
Uncertainty Device, James Salway discovers the problems
|
||||
of being quantum.</description>
|
||||
</book>
|
||||
<book id="bk110">
|
||||
<author>O'Brien, Tim</author>
|
||||
<title>Microsoft .NET: The Programming Bible</title>
|
||||
<genre>Computer</genre>
|
||||
<price>36.95</price>
|
||||
<publish_date>2000-12-09</publish_date>
|
||||
<description>Microsoft's .NET initiative is explored in
|
||||
detail in this deep programmer's reference.</description>
|
||||
</book>
|
||||
<book id="bk111">
|
||||
<author>O'Brien, Tim</author>
|
||||
<title>MSXML3: A Comprehensive Guide</title>
|
||||
<genre>Computer</genre>
|
||||
<price>36.95</price>
|
||||
<publish_date>2000-12-01</publish_date>
|
||||
<description>The Microsoft MSXML3 parser is covered in
|
||||
detail, with attention to XML DOM interfaces, XSLT processing,
|
||||
SAX and more.</description>
|
||||
</book>
|
||||
<book id="bk112">
|
||||
<author>Galos, Mike</author>
|
||||
<title>Visual Studio 7: A Comprehensive Guide</title>
|
||||
<genre>Computer</genre>
|
||||
<price>49.95</price>
|
||||
<publish_date>2001-04-16</publish_date>
|
||||
<description>Microsoft Visual Studio 7 is explored in depth,
|
||||
looking at how Visual Basic, Visual C++, C#, and ASP+ are
|
||||
integrated into a comprehensive development
|
||||
environment.</description>
|
||||
</book>
|
||||
</catalog>
|
23
web/modules/contrib/webform/tests/files/sample.xsd
Normal file
23
web/modules/contrib/webform/tests/files/sample.xsd
Normal file
|
@ -0,0 +1,23 @@
|
|||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<xsd:element name="catalog">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="book"
|
||||
minOccurs="0"
|
||||
maxOccurs="unbounded">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="author" type="xsd:string"/>
|
||||
<xsd:element name="title" type="xsd:string"/>
|
||||
<xsd:element name="genre" type="xsd:string"/>
|
||||
<xsd:element name="price" type="xsd:float"/>
|
||||
<xsd:element name="publish_date" type="xsd:date"/>
|
||||
<xsd:element name="description" type="xsd:string"/>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="id" type="xsd:string"/>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
|
@ -0,0 +1,107 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_confirmation_inline
|
||||
title: 'Test: Confirmation: Inline'
|
||||
description: 'Test inline confirmation message.'
|
||||
elements: |
|
||||
description:
|
||||
'#markup': 'This webform will display the confirmation inline when submitted.'
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 0
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: inline
|
||||
confirmation_title: ''
|
||||
confirmation_message: 'This is a custom inline confirmation message.'
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: true
|
||||
results_disabled_ignore: true
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers: { }
|
|
@ -0,0 +1,107 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_confirmation_message
|
||||
title: 'Test: Confirmation: Message'
|
||||
description: 'Test basic confirmation message.'
|
||||
elements: |
|
||||
description:
|
||||
'#markup': 'This webform will display a confirmation message when submitted.'
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 0
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: message
|
||||
confirmation_title: ''
|
||||
confirmation_message: 'This is a <b>custom</b> confirmation message.'
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: true
|
||||
results_disabled_ignore: true
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers: { }
|
|
@ -0,0 +1,107 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_confirmation_page
|
||||
title: 'Test: Confirmation: Page'
|
||||
description: 'Test redirecting to a confirmation page.'
|
||||
elements: |
|
||||
description:
|
||||
'#markup': 'This webform will redirect to the confirmation page when submitted.'
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 0
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: page
|
||||
confirmation_title: ''
|
||||
confirmation_message: 'This is a custom confirmation page.'
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: true
|
||||
results_disabled_ignore: true
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers: { }
|
|
@ -0,0 +1,110 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_confirmation_page_custom
|
||||
title: 'Test: Confirmation: Page custom'
|
||||
description: 'Test redirecting to a customized confirmation page.'
|
||||
elements: |
|
||||
description:
|
||||
'#markup': 'This webform will redirect to the confirmation page when submitted.'
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 0
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: page
|
||||
confirmation_title: 'Custom confirmation page title'
|
||||
confirmation_message: 'This is a custom confirmation page.'
|
||||
confirmation_url: ''
|
||||
confirmation_attributes:
|
||||
style: 'border: 10px solid red; padding: 1em;'
|
||||
confirmation_back: true
|
||||
confirmation_back_label: 'Custom back to link'
|
||||
confirmation_back_attributes:
|
||||
class:
|
||||
- button
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: true
|
||||
results_disabled_ignore: true
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers: { }
|
|
@ -0,0 +1,107 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_confirmation_url
|
||||
title: 'Test: Confirmation: URL'
|
||||
description: 'Test redirecting to an internal URL.'
|
||||
elements: |
|
||||
description:
|
||||
'#markup': 'This webform will redirect to the home page when submitted.'
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 0
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: url
|
||||
confirmation_title: ''
|
||||
confirmation_message: 'This is a custom confirmation message.'
|
||||
confirmation_url: '<front>'
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: true
|
||||
results_disabled_ignore: true
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers: { }
|
|
@ -0,0 +1,107 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_confirmation_url_message
|
||||
title: 'Test: Confirmation: URL with message'
|
||||
description: 'Test redirecting to an internal URL with a confirmation message.'
|
||||
elements: |
|
||||
description:
|
||||
'#markup': 'This webform will redirect to the home page when submitted an display a custom confirmation message.'
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 0
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: url_message
|
||||
confirmation_title: ''
|
||||
confirmation_message: 'This is a custom confirmation message.'
|
||||
confirmation_url: '<front>'
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: true
|
||||
results_disabled_ignore: true
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers: { }
|
|
@ -0,0 +1,323 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_element
|
||||
title: 'Test: Elements'
|
||||
description: 'Test instances of all supported webform elements.'
|
||||
elements: |
|
||||
hidden:
|
||||
'#type': hidden
|
||||
'#title': hidden
|
||||
'#value': '{hidden}'
|
||||
value:
|
||||
'#type': value
|
||||
'#title': value
|
||||
'#value': '{value}'
|
||||
markup_elements:
|
||||
'#type': details
|
||||
'#title': 'Markup Elements'
|
||||
'#open': true
|
||||
item:
|
||||
'#type': item
|
||||
'#title': '{item title}'
|
||||
'#description': '{item description}'
|
||||
'#markup': '{item markup}'
|
||||
'#prefix': '{item prefix}'
|
||||
'#suffix': '{item suffix}'
|
||||
'#field_prefix': '{item field_prefix}'
|
||||
'#field_suffix': '{item field_suffix}'
|
||||
markup:
|
||||
'#markup': '<p>{markup}</p>'
|
||||
processed_text:
|
||||
'#format': plain_text
|
||||
'#text': '<p>{processed_text}</p>'
|
||||
'#type': processed_text
|
||||
label:
|
||||
'#type': label
|
||||
'#title': label
|
||||
'#required': true
|
||||
container:
|
||||
'#type': container
|
||||
content:
|
||||
'#markup': '<p>{container}</p>'
|
||||
standard_elements:
|
||||
'#type': details
|
||||
'#title': 'Standard Elements'
|
||||
'#open': true
|
||||
textarea:
|
||||
'#type': textarea
|
||||
'#title': textarea
|
||||
'#default_value': |
|
||||
{textarea line 1}
|
||||
{textarea line 2}
|
||||
textfield:
|
||||
'#type': textfield
|
||||
'#title': textfield
|
||||
'#default_value': '{textfield}'
|
||||
password:
|
||||
'#type': password
|
||||
'#title': password
|
||||
'#default_value': '{password}'
|
||||
select:
|
||||
'#type': select
|
||||
'#title': select
|
||||
'#options':
|
||||
1: one
|
||||
2: two
|
||||
3: three
|
||||
'#default_value': 1
|
||||
select_multiple:
|
||||
'#type': select
|
||||
'#title': select_multiple
|
||||
'#multiple': true
|
||||
'#options':
|
||||
1: one
|
||||
2: two
|
||||
3: three
|
||||
'#default_value':
|
||||
- 1
|
||||
- 2
|
||||
checkbox:
|
||||
'#type': checkbox
|
||||
'#title': checkbox
|
||||
'#default_value': 1
|
||||
checkboxes:
|
||||
'#type': checkboxes
|
||||
'#title': checkboxes
|
||||
'#options':
|
||||
1: one
|
||||
2: two
|
||||
3: three
|
||||
'#default_value':
|
||||
- 1
|
||||
- 2
|
||||
radios:
|
||||
'#type': radios
|
||||
'#title': radios
|
||||
'#options':
|
||||
'Yes': 'Yes'
|
||||
'No': 'No'
|
||||
'#default_value': 'Yes'
|
||||
html5_elements:
|
||||
'#type': details
|
||||
'#title': 'HTML5 Elements'
|
||||
'#open': true
|
||||
email:
|
||||
'#type': email
|
||||
'#title': email
|
||||
'#default_value': example@example.com
|
||||
number:
|
||||
'#type': number
|
||||
'#title': number
|
||||
'#min': 0
|
||||
'#max': 10
|
||||
'#step': 1
|
||||
'#default_value': 1
|
||||
range:
|
||||
'#type': range
|
||||
'#title': range
|
||||
'#min': 0
|
||||
'#max': 10
|
||||
'#step': 1
|
||||
'#default_value': 1
|
||||
tel:
|
||||
'#type': tel
|
||||
'#title': tel
|
||||
'#default_value': 999-999-9999
|
||||
url:
|
||||
'#type': url
|
||||
'#title': url
|
||||
'#default_value': 'http://example.com'
|
||||
color:
|
||||
'#type': color
|
||||
'#title': color
|
||||
'#default_value': '#ffffcc'
|
||||
weight:
|
||||
'#type': weight
|
||||
'#title': weight
|
||||
'#default_value': 0
|
||||
date_elements:
|
||||
'#type': details
|
||||
'#title': 'Date Elements'
|
||||
'#open': true
|
||||
date:
|
||||
'#type': date
|
||||
'#title': date
|
||||
'#format': 'l, F j, Y'
|
||||
'#default_value': '2009-08-18'
|
||||
datetime:
|
||||
'#type': datetime
|
||||
'#title': datetime
|
||||
'#format': 'l, F j, Y - g:i A'
|
||||
'#default_value': '2009-08-18T01:00:00-05:00'
|
||||
datelist:
|
||||
'#type': datelist
|
||||
'#title': datelist
|
||||
'#date_part_order':
|
||||
- month
|
||||
- day
|
||||
- year
|
||||
- hour
|
||||
- minute
|
||||
- second
|
||||
- ampm
|
||||
'#format': 'l, F j, Y - g:i A'
|
||||
'#default_value': '2009-08-18T01:00:00-05:00'
|
||||
custom_elements:
|
||||
'#type': details
|
||||
'#title': 'Custom Elements'
|
||||
'#open': true
|
||||
dollars:
|
||||
'#type': number
|
||||
'#title': dollars
|
||||
'#min': 0
|
||||
'#step': 1
|
||||
'#default_value': 100
|
||||
'#field_prefix': $
|
||||
'#field_suffix': '.00'
|
||||
drupal_elements:
|
||||
'#type': details
|
||||
'#title': 'Drupal Elements'
|
||||
'#open': true
|
||||
text_format:
|
||||
'#type': text_format
|
||||
'#title': text_format
|
||||
'#format': full_html
|
||||
'#default_value': '<p>The quick brown fox jumped over the lazy dog.</p>'
|
||||
entity_autocomplete_user:
|
||||
'#type': entity_autocomplete
|
||||
'#title': 'entity_autocomplete (user)'
|
||||
'#target_type': user
|
||||
'#selection_handler': 'default:user'
|
||||
'#selection_settings':
|
||||
include_anonymous: true
|
||||
'#default_value': 1
|
||||
entity_autocomplete_users:
|
||||
'#type': entity_autocomplete
|
||||
'#title': 'entity_autocomplete (user tags)'
|
||||
'#tags': true
|
||||
'#target_type': user
|
||||
'#selection_handler': 'default:user'
|
||||
'#selection_settings':
|
||||
include_anonymous: true
|
||||
'#default_value':
|
||||
- 1
|
||||
- 2
|
||||
- 3
|
||||
language_select:
|
||||
'#type': language_select
|
||||
'#title': language_select
|
||||
'#languages': 3
|
||||
'#default_value': en
|
||||
password_confirm:
|
||||
'#type': password_confirm
|
||||
'#title': password_confirm
|
||||
'#default_value': '{default_value}'
|
||||
tableselect:
|
||||
'#type': tableselect
|
||||
'#title': tableselect
|
||||
'#options':
|
||||
1: one
|
||||
2: two
|
||||
3: three
|
||||
'#default_value':
|
||||
- 1
|
||||
- 2
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 1
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: page
|
||||
confirmation_title: ''
|
||||
confirmation_message: ''
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: false
|
||||
results_disabled_ignore: false
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers: { }
|
|
@ -0,0 +1,175 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_element_access
|
||||
title: 'Test: Element: Access'
|
||||
description: 'Test element access controls'
|
||||
elements: |
|
||||
access_create:
|
||||
'#type': details
|
||||
'#title': access_create
|
||||
'#open': true
|
||||
access_create_roles_anonymous:
|
||||
'#type': textfield
|
||||
'#title': 'access_create_roles (anonymous)'
|
||||
'#default_value': '{value}'
|
||||
'#access_create_roles':
|
||||
- anonymous
|
||||
access_create_roles_authenticated:
|
||||
'#type': textfield
|
||||
'#title': 'access_create_roles (authenticated)'
|
||||
'#default_value': '{value}'
|
||||
'#access_create_roles':
|
||||
- authenticated
|
||||
access_create_users:
|
||||
'#type': textfield
|
||||
'#title': 'access_create_users (USER:1)'
|
||||
'#default_value': '{value}'
|
||||
'#access_create_users':
|
||||
- 1
|
||||
access_update:
|
||||
'#type': details
|
||||
'#title': access_update
|
||||
'#open': true
|
||||
access_update_roles_anonymous:
|
||||
'#type': textfield
|
||||
'#title': 'access_update_roles (anonymous)'
|
||||
'#default_value': '{value}'
|
||||
'#access_update_roles':
|
||||
- anonymous
|
||||
access_update_roles_authenticated:
|
||||
'#type': textfield
|
||||
'#title': 'access_update_roles (authenticated)'
|
||||
'#default_value': '{value}'
|
||||
'#access_update_roles':
|
||||
- authenticated
|
||||
access_update_users:
|
||||
'#type': textfield
|
||||
'#title': 'access_update_users (USER:1)'
|
||||
'#default_value': '{value}'
|
||||
'#access_view_users':
|
||||
- 1
|
||||
access_view:
|
||||
'#type': details
|
||||
'#title': access_view
|
||||
'#open': true
|
||||
access_view_roles_anonymous:
|
||||
'#type': textfield
|
||||
'#title': 'access_view_roles (anonymous)'
|
||||
'#default_value': '{value}'
|
||||
'#access_view_roles':
|
||||
- anonymous
|
||||
access_view_roles_authenticated:
|
||||
'#type': textfield
|
||||
'#title': 'access_view_roles (authenticated)'
|
||||
'#default_value': '{value}'
|
||||
'#access_view_roles':
|
||||
- authenticated
|
||||
access_view_users:
|
||||
'#type': textfield
|
||||
'#title': 'access_view_users (USER:1)'
|
||||
'#default_value': '{value}'
|
||||
'#access_view_users':
|
||||
- 1
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 0
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: page
|
||||
confirmation_title: ''
|
||||
confirmation_message: ''
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: false
|
||||
results_disabled_ignore: false
|
||||
token_update: true
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles:
|
||||
- authenticated
|
||||
users: { }
|
||||
update_own:
|
||||
roles:
|
||||
- authenticated
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers: { }
|
|
@ -0,0 +1,109 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_element_allowed_tags
|
||||
title: 'Test: Element: Allowed tags'
|
||||
description: 'Test element #allowed_tags property.'
|
||||
elements: |
|
||||
item:
|
||||
'#type': item
|
||||
'#title': 'Below markup contains HTML tags'
|
||||
'#markup': 'Hello <ignored></tag><b>...Goodbye</b>'
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 0
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: page
|
||||
confirmation_title: ''
|
||||
confirmation_message: ''
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: true
|
||||
results_disabled_ignore: true
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers: { }
|
|
@ -0,0 +1,129 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_element_attributes
|
||||
title: 'Test: Element: Attributes'
|
||||
description: 'Test options attributes.'
|
||||
elements: |
|
||||
webform_element_attributes:
|
||||
'#type': webform_element_attributes
|
||||
'#title': webform_element_attributes
|
||||
'#classes': |
|
||||
one
|
||||
two
|
||||
three
|
||||
'#class__description': 'This is a custom class description.'
|
||||
'#style__description': 'This is a custom style description.'
|
||||
'#attributes__description': 'This is a custom attributes description.'
|
||||
'#default_value':
|
||||
class:
|
||||
- one
|
||||
- two
|
||||
- four
|
||||
style: 'color: red'
|
||||
custom: test
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 0
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: message
|
||||
confirmation_title: ''
|
||||
confirmation_message: ''
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: true
|
||||
results_disabled_ignore: true
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers:
|
||||
debug:
|
||||
id: debug
|
||||
label: Debug
|
||||
handler_id: debug
|
||||
status: true
|
||||
weight: 0
|
||||
settings: { }
|
|
@ -0,0 +1,127 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_element_autocomplete
|
||||
title: 'Test: Element: Autocomplete'
|
||||
description: 'Test element autocompletion.'
|
||||
elements: |
|
||||
autocomplete_off:
|
||||
'#type': email
|
||||
'#title': 'email (autocomplete=off)'
|
||||
'#autocomplete': off
|
||||
autocomplete_items:
|
||||
'#type': webform_autocomplete
|
||||
'#title': 'autocomplete (options)'
|
||||
'#autocomplete_items': country_names
|
||||
'#autocomplete_limit': 5
|
||||
'#autocomplete_match': 1
|
||||
autocomplete_existing:
|
||||
'#type': webform_autocomplete
|
||||
'#title': 'autocomplete (existing)'
|
||||
'#autocomplete_existing': true
|
||||
autocomplete_both:
|
||||
'#type': webform_autocomplete
|
||||
'#title': 'autocomplete (both)'
|
||||
'#autocomplete_items':
|
||||
- 'Example Item'
|
||||
'#autocomplete_existing': true
|
||||
'#autocomplete_limit': 5
|
||||
'#autocomplete_match': 1
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 0
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: message
|
||||
confirmation_title: ''
|
||||
confirmation_message: ''
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: false
|
||||
results_disabled_ignore: false
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers: { }
|
|
@ -0,0 +1,134 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_element_codemirror
|
||||
title: 'Test: Element: CodeMirror'
|
||||
description: 'Tests CodeMirror element.'
|
||||
elements: |
|
||||
'#attributes':
|
||||
novalidate: novalidate
|
||||
text_basic:
|
||||
'#type': webform_codemirror
|
||||
'#title': 'Text basic'
|
||||
yaml_basic:
|
||||
'#type': webform_codemirror
|
||||
'#mode': yaml
|
||||
'#title': 'YAML basic'
|
||||
yaml_array:
|
||||
'#type': webform_codemirror
|
||||
'#mode': yaml
|
||||
'#title': 'YAML array'
|
||||
'#description': 'Pass an associative array as the default value'
|
||||
'#default_value':
|
||||
one: One
|
||||
two: Two
|
||||
three: Three
|
||||
html_basic:
|
||||
'#type': webform_codemirror
|
||||
'#mode': html
|
||||
'#title': 'HTML basic'
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 0
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: message
|
||||
confirmation_title: ''
|
||||
confirmation_message: ''
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: true
|
||||
results_disabled_ignore: false
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers:
|
||||
debug:
|
||||
id: debug
|
||||
label: Debug
|
||||
handler_id: debug
|
||||
status: true
|
||||
weight: 1
|
||||
settings: { }
|
|
@ -0,0 +1,188 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_element_composite
|
||||
title: 'Test: Element: Composite'
|
||||
description: 'Test composite elements, includes address, contact, name, and credit card.'
|
||||
elements: |
|
||||
composite_flexbox:
|
||||
'#type': details
|
||||
'#title': 'Composite Flexbox'
|
||||
'#open': true
|
||||
address:
|
||||
'#type': webform_address
|
||||
'#title': Address
|
||||
'#flexbox': true
|
||||
contact:
|
||||
'#type': webform_contact
|
||||
'#title': Contact
|
||||
'#flexbox': true
|
||||
name:
|
||||
'#type': webform_name
|
||||
'#title': Name
|
||||
'#flexbox': true
|
||||
creditcard:
|
||||
'#type': webform_creditcard
|
||||
'#title': 'Credit card'
|
||||
'#flexbox': true
|
||||
composite_elements:
|
||||
'#type': details
|
||||
'#title': 'Composite Elements'
|
||||
'#open': true
|
||||
contact_basic:
|
||||
'#type': webform_contact
|
||||
'#title': 'Contact basic'
|
||||
'#required': true
|
||||
'#name__required': true
|
||||
'#default_value':
|
||||
name: 'John Smith'
|
||||
company: Acme
|
||||
address: '100 Main Street'
|
||||
address_2: 'PO BOX 999'
|
||||
city: 'Hill Valley'
|
||||
state_province: 'New Jersey'
|
||||
country: 'United States'
|
||||
postal_code: 11111-1111
|
||||
email: example@example.com
|
||||
phone: 123-456-7890
|
||||
contact_advanced:
|
||||
'#type': webform_contact
|
||||
'#title': 'Contact advanced'
|
||||
'#default_value':
|
||||
name: 'John Smith'
|
||||
company: Acme
|
||||
address: '100 Main Street'
|
||||
address_2: 'PO BOX 999'
|
||||
city: 'Hill Valley'
|
||||
state_province: 'New Jersey'
|
||||
country: 'United States'
|
||||
postal_code: 11111-1111
|
||||
email: example@example.com
|
||||
phone: 123-456-7890
|
||||
'#name__required': true
|
||||
'#name__title': 'Custom contact name'
|
||||
'#name__description': 'Custom contact name description'
|
||||
'#state_province__type': textfield
|
||||
'#country__required': true
|
||||
'#country__access': false
|
||||
creditcard_basic:
|
||||
'#type': webform_creditcard
|
||||
'#title': 'Credit Card'
|
||||
'#default_value':
|
||||
name: 'John Smith'
|
||||
number: 4111111111111111
|
||||
type: VI
|
||||
civ: 111
|
||||
expiration_month: 1
|
||||
expiration_year: 2025
|
||||
link_basic:
|
||||
'#type': webform_link
|
||||
'#title': 'Link'
|
||||
'#default_value':
|
||||
title: Example
|
||||
url: http://example.com
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 0
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: message
|
||||
confirmation_title: ''
|
||||
confirmation_message: ''
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: false
|
||||
results_disabled_ignore: false
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers:
|
||||
debug:
|
||||
id: debug
|
||||
label: Debug
|
||||
handler_id: debug
|
||||
status: true
|
||||
weight: 1
|
||||
settings: { }
|
|
@ -0,0 +1,250 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_element_dates
|
||||
title: 'Test: Element: Dates'
|
||||
description: 'Test date elements.'
|
||||
elements: |
|
||||
date_elements:
|
||||
'#type': details
|
||||
'#title': 'Date Elements'
|
||||
'#open': true
|
||||
date_default:
|
||||
'#type': date
|
||||
'#title': 'date default'
|
||||
'#default_value': '2009-08-18'
|
||||
date_custom:
|
||||
'#type': date
|
||||
'#title': 'date custom'
|
||||
'#date_date_format': d-M-Y
|
||||
'#min': '2008-01-01'
|
||||
'#max': '2010-12-31'
|
||||
'#default_value': '2009-08-18'
|
||||
'#description': '(2008-01-01 to 2010-12-31) + (d-M-Y)'
|
||||
date_min_max:
|
||||
'#type': date
|
||||
'#title': 'date (min/max)'
|
||||
'#description': '(2009-01-01 to 2009-12-31)'
|
||||
'#min': '2009-01-01'
|
||||
'#max': '2009-12-31'
|
||||
'#default_value': '2009-08-18'
|
||||
date_min_max_dynamic:
|
||||
'#type': date
|
||||
'#title': 'date range (dynamic)'
|
||||
'#description': '(-1 year to +1 year)'
|
||||
'#min': '-1 year'
|
||||
'#max': '+1 year'
|
||||
'#default_value': now
|
||||
datetime_elements:
|
||||
'#type': details
|
||||
'#title': 'Date/Time Elements'
|
||||
'#open': true
|
||||
datetime_default:
|
||||
'#type': datetime
|
||||
'#title': 'datetime default'
|
||||
'#default_value': '2009-08-18T01:00:00-05:00'
|
||||
datetime_html5_datetime:
|
||||
'#type': datetime
|
||||
'#title': 'datetime HTML5 datetime'
|
||||
'#default_value': '2009-08-18T01:00:00-05:00'
|
||||
'#date_date_element': datetime
|
||||
'#date_time_element': none
|
||||
datetime_html5_datetime_local:
|
||||
'#type': datetime
|
||||
'#title': 'datetime HTML5 datetime local'
|
||||
'#default_value': '2009-08-18T01:00:00-05:00'
|
||||
'#date_date_element': datetime-local
|
||||
'#date_time_element': none
|
||||
datetime_html5_time:
|
||||
'#type': datetime
|
||||
'#title': 'datetime HTML5 time'
|
||||
'#default_value': '2009-08-18T01:00:00-05:00'
|
||||
'#date_date_element': none
|
||||
'#date_time_element': time
|
||||
'#format': html_time
|
||||
datetime_text_datetime:
|
||||
'#type': datetime
|
||||
'#title': 'datetime text datetime'
|
||||
'#default_value': '2009-08-18T01:00:00-05:00'
|
||||
'#date_date_element': text
|
||||
'#date_time_element': text
|
||||
datetime_year_range:
|
||||
'#type': datetime
|
||||
'#title': 'datetime year range (-10:+1)'
|
||||
'#default_value': '2009-08-18T01:00:00-05:00'
|
||||
'#date_year_range': '-10:+1'
|
||||
datetime_min_max:
|
||||
'#type': datetime
|
||||
'#title': 'datetime (min/max)'
|
||||
'#description': '(2009-01-01 to 2009-12-31)'
|
||||
'#min': '2009-01-01'
|
||||
'#max': '2009-12-31'
|
||||
'#default_value': '2009-08-18'
|
||||
datelist_elements:
|
||||
'#type': details
|
||||
'#title': 'Date List Elements'
|
||||
'#open': true
|
||||
datelist_default:
|
||||
'#type': datelist
|
||||
'#title': 'datelist default'
|
||||
'#default_value': '2009-08-18T01:00:00-05:00'
|
||||
datelist_datetime:
|
||||
'#type': datelist
|
||||
'#title': 'datelist datetime'
|
||||
'#date_part_order':
|
||||
- month
|
||||
- day
|
||||
- year
|
||||
- hour
|
||||
- minute
|
||||
- second
|
||||
- ampm
|
||||
'#default_value': '2009-08-18T01:00:00-05:00'
|
||||
datelist_date:
|
||||
'#type': datelist
|
||||
'#title': 'datelist date'
|
||||
'#date_part_order':
|
||||
- month
|
||||
- day
|
||||
- year
|
||||
'#default_value': '2009-08-18T01:00:00-00:00'
|
||||
datelist_min_max:
|
||||
'#type': datelist
|
||||
'#title': 'datelist (min/max)'
|
||||
'#description': '(2009-01-01 to 2009-12-31)'
|
||||
'#min': '2009-01-01'
|
||||
'#max': '2009-12-31'
|
||||
'#default_value': '2009-08-18'
|
||||
time_elements:
|
||||
'#type': details
|
||||
'#title': 'Time Elements'
|
||||
'#open': true
|
||||
time_default:
|
||||
'#type': webform_time
|
||||
'#title': 'time default'
|
||||
'#default_value': '14:00'
|
||||
time_24_hour:
|
||||
'#type': webform_time
|
||||
'#title': 'time 24 hour'
|
||||
'#time_format': 'H:i'
|
||||
'#default_value': '14:00'
|
||||
time_12_hour:
|
||||
'#type': webform_time
|
||||
'#title': 'time 12 hour'
|
||||
'#time_format': 'g:i A'
|
||||
'#default_value': '14:00'
|
||||
time_12_hour_plus_6_hours:
|
||||
'#type': webform_time
|
||||
'#title': 'time 12 hour (+6 hours)'
|
||||
'#time_format': 'g:i A'
|
||||
'#default_value': '+6 hours'
|
||||
time_steps:
|
||||
'#type': webform_time
|
||||
'#title': 'time (step)'
|
||||
'#default_value': '14:00'
|
||||
'#step': 900
|
||||
time_min_max:
|
||||
'#type': webform_time
|
||||
'#title': 'time (min/max)'
|
||||
'#min': '14:00'
|
||||
'#max': '18:00'
|
||||
'#description': '(14:00 to 18:00)'
|
||||
'#default_value': '14:00'
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 1
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: page
|
||||
confirmation_title: ''
|
||||
confirmation_message: ''
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: false
|
||||
results_disabled_ignore: false
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers: { }
|
|
@ -0,0 +1,141 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_element_email
|
||||
title: 'Test: Element: Email'
|
||||
description: 'Tests email_confirm and email_multiple elements.'
|
||||
elements: |
|
||||
'#attributes':
|
||||
novalidate: novalidate
|
||||
email_multiple:
|
||||
'#type': details
|
||||
'#title': 'Email multiple (email_multiple)'
|
||||
'#open': true
|
||||
email_multiple_basic:
|
||||
'#type': webform_email_multiple
|
||||
'#title': 'Multiple email addresses (basic)'
|
||||
email_multiple_advanced:
|
||||
'#type': webform_email_multiple
|
||||
'#title': 'Multiple email addresses (advanced)'
|
||||
'#allow_tokens': true
|
||||
'#description': 'Allows tokens to be included in the comma delimited list of emails'
|
||||
email_confirm:
|
||||
'#type': details
|
||||
'#title': 'Email confirmation (email_confirm)'
|
||||
'#open': true
|
||||
email_confirm_basic:
|
||||
'#type': webform_email_confirm
|
||||
'#title': 'Email confirm basic'
|
||||
email_confirm_advanced:
|
||||
'#type': webform_email_confirm
|
||||
'#title': 'Email confirm advanced'
|
||||
'#description': 'Please make sure to review your email address'
|
||||
'#placeholder': 'Enter email address'
|
||||
'#confirm__title': 'Please confirm your email address'
|
||||
'#confirm__description': 'Please make sure to review your confirmation email address'
|
||||
'#confirm__placeholder': 'Enter confirmation email address'
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 0
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: message
|
||||
confirmation_title: ''
|
||||
confirmation_message: ''
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: true
|
||||
results_disabled_ignore: false
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers:
|
||||
debug:
|
||||
id: debug
|
||||
label: Debug
|
||||
handler_id: debug
|
||||
status: true
|
||||
weight: 1
|
||||
settings: { }
|
|
@ -0,0 +1,199 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_element_entity_reference
|
||||
title: 'Test: Element: Entity reference'
|
||||
description: 'Test entity reference elements.'
|
||||
elements: |
|
||||
entity_autocomplete:
|
||||
'#type': details
|
||||
'#title': 'Entity autocomplete'
|
||||
'#open': true
|
||||
entity_autocomplete_user_default:
|
||||
'#type': entity_autocomplete
|
||||
'#title': 'entity_autocomplete (user)'
|
||||
'#default_value': '1'
|
||||
'#target_type': user
|
||||
'#selection_handler': 'default:user'
|
||||
'#selection_settings':
|
||||
include_anonymous: true
|
||||
entity_autocomplete_user_tags:
|
||||
'#type': entity_autocomplete
|
||||
'#title': 'entity_autocomplete (user tags)'
|
||||
'#tags': true
|
||||
'#target_type': user
|
||||
'#selection_handler': 'default:user'
|
||||
'#selection_settings':
|
||||
include_anonymous: true
|
||||
'#default_value':
|
||||
- 0
|
||||
- 1
|
||||
entity_autocomplete_node_default:
|
||||
'#type': entity_autocomplete
|
||||
'#title': 'Entity autocomplete (node)'
|
||||
'#target_type': node
|
||||
'#selection_handler': 'default:node'
|
||||
'#selection_settings':
|
||||
target_bundles:
|
||||
page: page
|
||||
sort:
|
||||
field: title
|
||||
direction: ASC
|
||||
entity_autocomplete_node_view:
|
||||
'#type': entity_autocomplete
|
||||
'#title': 'entity_autocomplete (node view)'
|
||||
'#target_type': node
|
||||
'#selection_handler': views
|
||||
'#selection_settings':
|
||||
view:
|
||||
view_name: webform_test_entity_reference
|
||||
display_name: entity_reference
|
||||
arguments: ''
|
||||
'#default_value': 1
|
||||
webform_entity_select:
|
||||
'#type': details
|
||||
'#title': 'Entity select'
|
||||
'#open': true
|
||||
webform_entity_select_user_default:
|
||||
'#type': webform_entity_select
|
||||
'#title': 'entity_select (user)'
|
||||
'#default_value': '1'
|
||||
'#target_type': user
|
||||
'#selection_handler': 'default:user'
|
||||
'#selection_settings':
|
||||
include_anonymous: true
|
||||
webform_entity_select_user_multiple:
|
||||
'#type': webform_entity_select
|
||||
'#title': 'entity_select (user multiple)'
|
||||
'#multiple': true
|
||||
'#target_type': user
|
||||
'#selection_handler': 'default:user'
|
||||
'#selection_settings':
|
||||
include_anonymous: true
|
||||
'#default_value':
|
||||
- 0
|
||||
- 1
|
||||
webform_entity_radios:
|
||||
'#type': details
|
||||
'#title': 'Entity radios'
|
||||
'#open': true
|
||||
webform_entity_radios_user_default:
|
||||
'#type': webform_entity_radios
|
||||
'#title': 'entity_radio (user)'
|
||||
'#default_value': '1'
|
||||
'#target_type': user
|
||||
'#selection_handler': 'default:user'
|
||||
'#selection_settings':
|
||||
include_anonymous: true
|
||||
webform_entity_checkboxes:
|
||||
'#type': details
|
||||
'#title': 'Entity checkboxes'
|
||||
'#open': true
|
||||
webform_entity_checkboxes_user_default:
|
||||
'#type': webform_entity_checkboxes
|
||||
'#title': 'entity_checkboxes (user)'
|
||||
'#target_type': user
|
||||
'#selection_handler': 'default:user'
|
||||
'#selection_settings':
|
||||
include_anonymous: true
|
||||
'#default_value':
|
||||
- 0
|
||||
- 1
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 1
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: page
|
||||
confirmation_title: ''
|
||||
confirmation_message: ''
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: false
|
||||
results_disabled_ignore: false
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers: { }
|
|
@ -0,0 +1,938 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_element_flexbox
|
||||
title: 'Test: Element: Flexbox'
|
||||
description: 'Test flexbox layout.'
|
||||
elements: |
|
||||
flexbox_processed_text:
|
||||
'#type': webform_flexbox
|
||||
flex_processed_text_left:
|
||||
'#type': processed_text
|
||||
'#title': 'Advanced HTML/Text 01'
|
||||
processed_text_content:
|
||||
'#markup': 'This is a Advanced HTML/Text container.'
|
||||
flex_processed_text_right:
|
||||
'#type': processed_text
|
||||
'#title': 'Advanced HTML/Text 02'
|
||||
processed_text_content:
|
||||
'#markup': 'This is a Advanced HTML/Text container.'
|
||||
flexbox_webform_markup:
|
||||
'#type': webform_flexbox
|
||||
flex_webform_markup_left:
|
||||
'#type': webform_markup
|
||||
'#title': 'Basic HTML 01'
|
||||
'#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/2700667">Issue #2700667: Notice: Undefined index: #type in drupal_process_states()</a>'
|
||||
webform_markup_content:
|
||||
'#markup': 'This is a Basic HTML container.'
|
||||
flex_webform_markup_right:
|
||||
'#type': webform_markup
|
||||
'#title': 'Basic HTML 02'
|
||||
'#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/2700667">Issue #2700667: Notice: Undefined index: #type in drupal_process_states()</a>'
|
||||
webform_markup_content:
|
||||
'#markup': 'This is a Basic HTML container.'
|
||||
flexbox_captcha:
|
||||
'#type': webform_flexbox
|
||||
flex_captcha_left:
|
||||
'#type': captcha
|
||||
'#title': 'CAPTCHA 01'
|
||||
flex_captcha_right:
|
||||
'#type': captcha
|
||||
'#title': 'CAPTCHA 02'
|
||||
flexbox_container:
|
||||
'#type': webform_flexbox
|
||||
flex_container_left:
|
||||
'#type': container
|
||||
'#title': 'Container 01'
|
||||
container_content:
|
||||
'#markup': 'This is a Container container.'
|
||||
flex_container_right:
|
||||
'#type': container
|
||||
'#title': 'Container 02'
|
||||
container_content:
|
||||
'#markup': 'This is a Container container.'
|
||||
flexbox_details:
|
||||
'#type': webform_flexbox
|
||||
flex_details_left:
|
||||
'#type': details
|
||||
'#title': 'Details 01'
|
||||
'#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/2348851">Issue #2348851: Regression: Allow HTML tags inside detail summary</a>'
|
||||
details_content:
|
||||
'#markup': 'This is a Details container.'
|
||||
flex_details_right:
|
||||
'#type': details
|
||||
'#title': 'Details 02'
|
||||
'#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/2348851">Issue #2348851: Regression: Allow HTML tags inside detail summary</a>'
|
||||
details_content:
|
||||
'#markup': 'This is a Details container.'
|
||||
flexbox_fieldset:
|
||||
'#type': webform_flexbox
|
||||
flex_fieldset_left:
|
||||
'#type': fieldset
|
||||
'#title': 'Fieldset 01'
|
||||
fieldset_content:
|
||||
'#markup': 'This is a Fieldset container.'
|
||||
flex_fieldset_right:
|
||||
'#type': fieldset
|
||||
'#title': 'Fieldset 02'
|
||||
fieldset_content:
|
||||
'#markup': 'This is a Fieldset container.'
|
||||
flexbox_item:
|
||||
'#type': webform_flexbox
|
||||
flex_item_left:
|
||||
'#type': item
|
||||
'#title': 'Item 01'
|
||||
'#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/783438">Issue #783438: #states doesn''t work for #type item</a>'
|
||||
'#markup': '{markup}'
|
||||
'#field_prefix': '{field_prefix}'
|
||||
'#field_suffix': '{field_suffix}'
|
||||
item_content:
|
||||
'#markup': 'This is a Item container.'
|
||||
flex_item_right:
|
||||
'#type': item
|
||||
'#title': 'Item 02'
|
||||
'#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/783438">Issue #783438: #states doesn''t work for #type item</a>'
|
||||
'#markup': '{markup}'
|
||||
'#field_prefix': '{field_prefix}'
|
||||
'#field_suffix': '{field_suffix}'
|
||||
item_content:
|
||||
'#markup': 'This is a Item container.'
|
||||
flexbox_label:
|
||||
'#type': webform_flexbox
|
||||
flex_label_left:
|
||||
'#type': label
|
||||
'#title': 'Label 01'
|
||||
label_content:
|
||||
'#markup': 'This is a Label container.'
|
||||
flex_label_right:
|
||||
'#type': label
|
||||
'#title': 'Label 02'
|
||||
label_content:
|
||||
'#markup': 'This is a Label container.'
|
||||
flexbox_webform_message:
|
||||
'#type': webform_flexbox
|
||||
flex_webform_message_left:
|
||||
'#type': webform_message
|
||||
'#title': 'Message 01'
|
||||
'#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/77245">Issue #77245: A place for JavaScript status messages</a>'
|
||||
'#message_type': warning
|
||||
'#message_message': 'This is a <strong>warning</strong> message.'
|
||||
webform_message_content:
|
||||
'#markup': 'This is a Message container.'
|
||||
flex_webform_message_right:
|
||||
'#type': webform_message
|
||||
'#title': 'Message 02'
|
||||
'#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/77245">Issue #77245: A place for JavaScript status messages</a>'
|
||||
'#message_type': warning
|
||||
'#message_message': 'This is a <strong>warning</strong> message.'
|
||||
webform_message_content:
|
||||
'#markup': 'This is a Message container.'
|
||||
flexbox_table:
|
||||
'#type': webform_flexbox
|
||||
flex_table_left:
|
||||
'#type': table
|
||||
'#title': 'Table 01'
|
||||
table_content:
|
||||
'#markup': 'This is a Table container.'
|
||||
flex_table_right:
|
||||
'#type': table
|
||||
'#title': 'Table 02'
|
||||
table_content:
|
||||
'#markup': 'This is a Table container.'
|
||||
flexbox_webform_address:
|
||||
'#type': webform_flexbox
|
||||
flex_webform_address_left:
|
||||
'#type': webform_address
|
||||
'#title': 'Address 01'
|
||||
flex_webform_address_right:
|
||||
'#type': webform_address
|
||||
'#title': 'Address 02'
|
||||
flexbox_webform_audio_file:
|
||||
'#type': webform_flexbox
|
||||
flex_webform_audio_file_left:
|
||||
'#type': webform_audio_file
|
||||
'#title': 'Audio file 01'
|
||||
flex_webform_audio_file_right:
|
||||
'#type': webform_audio_file
|
||||
'#title': 'Audio file 02'
|
||||
flexbox_webform_autocomplete:
|
||||
'#type': webform_flexbox
|
||||
flex_webform_autocomplete_left:
|
||||
'#type': webform_autocomplete
|
||||
'#title': 'Autocomplete 01'
|
||||
'#autocomplete_items': country_names
|
||||
flex_webform_autocomplete_right:
|
||||
'#type': webform_autocomplete
|
||||
'#title': 'Autocomplete 02'
|
||||
'#autocomplete_items': country_names
|
||||
flexbox_webform_buttons:
|
||||
'#type': webform_flexbox
|
||||
flex_webform_buttons_left:
|
||||
'#type': webform_buttons
|
||||
'#title': 'Buttons 01'
|
||||
'#options':
|
||||
One: One
|
||||
Two: Two
|
||||
Three: Three
|
||||
flex_webform_buttons_right:
|
||||
'#type': webform_buttons
|
||||
'#title': 'Buttons 02'
|
||||
'#options':
|
||||
One: One
|
||||
Two: Two
|
||||
Three: Three
|
||||
flexbox_webform_buttons_other:
|
||||
'#type': webform_flexbox
|
||||
flex_webform_buttons_other_left:
|
||||
'#type': webform_buttons_other
|
||||
'#title': 'Buttons other 01'
|
||||
'#options':
|
||||
One: One
|
||||
Two: Two
|
||||
Three: Three
|
||||
flex_webform_buttons_other_right:
|
||||
'#type': webform_buttons_other
|
||||
'#title': 'Buttons other 02'
|
||||
'#options':
|
||||
One: One
|
||||
Two: Two
|
||||
Three: Three
|
||||
flexbox_checkbox:
|
||||
'#type': webform_flexbox
|
||||
flex_checkbox_left:
|
||||
'#type': checkbox
|
||||
'#title': 'Checkbox 01'
|
||||
flex_checkbox_right:
|
||||
'#type': checkbox
|
||||
'#title': 'Checkbox 02'
|
||||
flexbox_checkboxes:
|
||||
'#type': webform_flexbox
|
||||
flex_checkboxes_left:
|
||||
'#type': checkboxes
|
||||
'#title': 'Checkboxes 01'
|
||||
'#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/994360">Issue #994360: #states cannot disable/enable radios and checkboxes</a><br/><a href="https://www.drupal.org/node/2836364">Issue #2836364: Wrapper attributes are not supported by composite elements, this includes radios, checkboxes, and buttons.</a>'
|
||||
'#options':
|
||||
One: One
|
||||
Two: Two
|
||||
Three: Three
|
||||
flex_checkboxes_right:
|
||||
'#type': checkboxes
|
||||
'#title': 'Checkboxes 02'
|
||||
'#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/994360">Issue #994360: #states cannot disable/enable radios and checkboxes</a><br/><a href="https://www.drupal.org/node/2836364">Issue #2836364: Wrapper attributes are not supported by composite elements, this includes radios, checkboxes, and buttons.</a>'
|
||||
'#options':
|
||||
One: One
|
||||
Two: Two
|
||||
Three: Three
|
||||
flexbox_webform_checkboxes_other:
|
||||
'#type': webform_flexbox
|
||||
flex_webform_checkboxes_other_left:
|
||||
'#type': webform_checkboxes_other
|
||||
'#title': 'Checkboxes other 01'
|
||||
'#options':
|
||||
One: One
|
||||
Two: Two
|
||||
Three: Three
|
||||
flex_webform_checkboxes_other_right:
|
||||
'#type': webform_checkboxes_other
|
||||
'#title': 'Checkboxes other 02'
|
||||
'#options':
|
||||
One: One
|
||||
Two: Two
|
||||
Three: Three
|
||||
flexbox_webform_codemirror:
|
||||
'#type': webform_flexbox
|
||||
flex_webform_codemirror_left:
|
||||
'#type': webform_codemirror
|
||||
'#title': 'CodeMirror 01'
|
||||
'#mode': yaml
|
||||
flex_webform_codemirror_right:
|
||||
'#type': webform_codemirror
|
||||
'#title': 'CodeMirror 02'
|
||||
'#mode': yaml
|
||||
flexbox_color:
|
||||
'#type': webform_flexbox
|
||||
flex_color_left:
|
||||
'#type': color
|
||||
'#title': 'Color 01'
|
||||
flex_color_right:
|
||||
'#type': color
|
||||
'#title': 'Color 02'
|
||||
flexbox_webform_contact:
|
||||
'#type': webform_flexbox
|
||||
flex_webform_contact_left:
|
||||
'#type': webform_contact
|
||||
'#title': 'Contact 01'
|
||||
flex_webform_contact_right:
|
||||
'#type': webform_contact
|
||||
'#title': 'Contact 02'
|
||||
flexbox_webform_creditcard:
|
||||
'#type': webform_flexbox
|
||||
flex_webform_creditcard_left:
|
||||
'#type': webform_creditcard
|
||||
'#title': 'Credit card 01'
|
||||
flex_webform_creditcard_right:
|
||||
'#type': webform_creditcard
|
||||
'#title': 'Credit card 02'
|
||||
flexbox_webform_creditcard_number:
|
||||
'#type': webform_flexbox
|
||||
flex_webform_creditcard_number_left:
|
||||
'#type': webform_creditcard_number
|
||||
'#title': 'Credit card number 01'
|
||||
flex_webform_creditcard_number_right:
|
||||
'#type': webform_creditcard_number
|
||||
'#title': 'Credit card number 02'
|
||||
flexbox_date:
|
||||
'#type': webform_flexbox
|
||||
flex_date_left:
|
||||
'#type': date
|
||||
'#title': 'Date 01'
|
||||
flex_date_right:
|
||||
'#type': date
|
||||
'#title': 'Date 02'
|
||||
flexbox_datetime:
|
||||
'#type': webform_flexbox
|
||||
flex_datetime_left:
|
||||
'#type': datetime
|
||||
'#title': 'Date/time 01'
|
||||
'#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/2419131">Issue #2419131: #states attribute does not work on #type datetime</a>'
|
||||
flex_datetime_right:
|
||||
'#type': datetime
|
||||
'#title': 'Date/time 02'
|
||||
'#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/2419131">Issue #2419131: #states attribute does not work on #type datetime</a>'
|
||||
flexbox_datelist:
|
||||
'#type': webform_flexbox
|
||||
flex_datelist_left:
|
||||
'#type': datelist
|
||||
'#title': 'Date list 01'
|
||||
flex_datelist_right:
|
||||
'#type': datelist
|
||||
'#title': 'Date list 02'
|
||||
flexbox_webform_document_file:
|
||||
'#type': webform_flexbox
|
||||
flex_webform_document_file_left:
|
||||
'#type': webform_document_file
|
||||
'#title': 'Document file 01'
|
||||
flex_webform_document_file_right:
|
||||
'#type': webform_document_file
|
||||
'#title': 'Document file 02'
|
||||
flexbox_email:
|
||||
'#type': webform_flexbox
|
||||
flex_email_left:
|
||||
'#type': email
|
||||
'#title': 'Email 01'
|
||||
flex_email_right:
|
||||
'#type': email
|
||||
'#title': 'Email 02'
|
||||
flexbox_webform_email_confirm:
|
||||
'#type': webform_flexbox
|
||||
flex_webform_email_confirm_left:
|
||||
'#type': webform_email_confirm
|
||||
'#title': 'Email confirm 01'
|
||||
flex_webform_email_confirm_right:
|
||||
'#type': webform_email_confirm
|
||||
'#title': 'Email confirm 02'
|
||||
flexbox_webform_email_multiple:
|
||||
'#type': webform_flexbox
|
||||
flex_webform_email_multiple_left:
|
||||
'#type': webform_email_multiple
|
||||
'#title': 'Email multiple 01'
|
||||
flex_webform_email_multiple_right:
|
||||
'#type': webform_email_multiple
|
||||
'#title': 'Email multiple 02'
|
||||
flexbox_entity_autocomplete:
|
||||
'#type': webform_flexbox
|
||||
flex_entity_autocomplete_left:
|
||||
'#type': entity_autocomplete
|
||||
'#title': 'Entity autocomplete 01'
|
||||
'#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/2826451">Issue #2826451: TermSelection returning HTML characters in select list</a>'
|
||||
'#target_type': user
|
||||
'#selection_handler': 'default:user'
|
||||
'#selection_settings':
|
||||
include_anonymous: true
|
||||
flex_entity_autocomplete_right:
|
||||
'#type': entity_autocomplete
|
||||
'#title': 'Entity autocomplete 02'
|
||||
'#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/2826451">Issue #2826451: TermSelection returning HTML characters in select list</a>'
|
||||
'#target_type': user
|
||||
'#selection_handler': 'default:user'
|
||||
'#selection_settings':
|
||||
include_anonymous: true
|
||||
flexbox_webform_entity_checkboxes:
|
||||
'#type': webform_flexbox
|
||||
flex_webform_entity_checkboxes_left:
|
||||
'#type': webform_entity_checkboxes
|
||||
'#title': 'Entity checkboxes 01'
|
||||
'#target_type': user
|
||||
'#selection_handler': 'default:user'
|
||||
'#selection_settings':
|
||||
include_anonymous: true
|
||||
'#options':
|
||||
1: Administrator
|
||||
0: Anonymous
|
||||
flex_webform_entity_checkboxes_right:
|
||||
'#type': webform_entity_checkboxes
|
||||
'#title': 'Entity checkboxes 02'
|
||||
'#target_type': user
|
||||
'#selection_handler': 'default:user'
|
||||
'#selection_settings':
|
||||
include_anonymous: true
|
||||
'#options':
|
||||
1: Administrator
|
||||
0: Anonymous
|
||||
flexbox_webform_entity_radios:
|
||||
'#type': webform_flexbox
|
||||
flex_webform_entity_radios_left:
|
||||
'#type': webform_entity_radios
|
||||
'#title': 'Entity radios 01'
|
||||
'#target_type': user
|
||||
'#selection_handler': 'default:user'
|
||||
'#selection_settings':
|
||||
include_anonymous: true
|
||||
'#options': null
|
||||
flex_webform_entity_radios_right:
|
||||
'#type': webform_entity_radios
|
||||
'#title': 'Entity radios 02'
|
||||
'#target_type': user
|
||||
'#selection_handler': 'default:user'
|
||||
'#selection_settings':
|
||||
include_anonymous: true
|
||||
'#options': null
|
||||
flexbox_webform_entity_select:
|
||||
'#type': webform_flexbox
|
||||
flex_webform_entity_select_left:
|
||||
'#type': webform_entity_select
|
||||
'#title': 'Entity select 01'
|
||||
'#target_type': user
|
||||
'#selection_handler': 'default:user'
|
||||
'#selection_settings':
|
||||
include_anonymous: true
|
||||
flex_webform_entity_select_right:
|
||||
'#type': webform_entity_select
|
||||
'#title': 'Entity select 02'
|
||||
'#target_type': user
|
||||
'#selection_handler': 'default:user'
|
||||
'#selection_settings':
|
||||
include_anonymous: true
|
||||
flexbox_managed_file:
|
||||
'#type': webform_flexbox
|
||||
flex_managed_file_left:
|
||||
'#type': managed_file
|
||||
'#title': 'File 01'
|
||||
'#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/2705471">Issue #2705471: Webform states managed file fields</a><br/><a href="https://www.drupal.org/node/2113931">Issue #2113931: File Field design update</a>'
|
||||
flex_managed_file_right:
|
||||
'#type': managed_file
|
||||
'#title': 'File 02'
|
||||
'#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/2705471">Issue #2705471: Webform states managed file fields</a><br/><a href="https://www.drupal.org/node/2113931">Issue #2113931: File Field design update</a>'
|
||||
flexbox_webform_element:
|
||||
'#type': webform_flexbox
|
||||
flex_webform_element_left:
|
||||
'#type': webform_element
|
||||
'#title': 'Generic element 01'
|
||||
flex_webform_element_right:
|
||||
'#type': webform_element
|
||||
'#title': 'Generic element 02'
|
||||
flexbox_webform_image_file:
|
||||
'#type': webform_flexbox
|
||||
flex_webform_image_file_left:
|
||||
'#type': webform_image_file
|
||||
'#title': 'Image file 01'
|
||||
flex_webform_image_file_right:
|
||||
'#type': webform_image_file
|
||||
'#title': 'Image file 02'
|
||||
flexbox_language_select:
|
||||
'#type': webform_flexbox
|
||||
flex_language_select_left:
|
||||
'#type': language_select
|
||||
'#title': 'Language select 01'
|
||||
'#languages': 3
|
||||
flex_language_select_right:
|
||||
'#type': language_select
|
||||
'#title': 'Language select 02'
|
||||
'#languages': 3
|
||||
flexbox_webform_likert:
|
||||
'#type': webform_flexbox
|
||||
flex_webform_likert_left:
|
||||
'#type': webform_likert
|
||||
'#title': 'Likert 01'
|
||||
'#questions':
|
||||
q1: 'Please answer question 1?'
|
||||
q2: 'How about now answering question 2?'
|
||||
q3: 'Finally, here is question 3?'
|
||||
'#answers':
|
||||
1: 1
|
||||
2: 2
|
||||
3: 3
|
||||
4: 4
|
||||
5: 5
|
||||
flex_webform_likert_right:
|
||||
'#type': webform_likert
|
||||
'#title': 'Likert 02'
|
||||
'#questions':
|
||||
q1: 'Please answer question 1?'
|
||||
q2: 'How about now answering question 2?'
|
||||
q3: 'Finally, here is question 3?'
|
||||
'#answers':
|
||||
1: 1
|
||||
2: 2
|
||||
3: 3
|
||||
4: 4
|
||||
5: 5
|
||||
flexbox_webform_link:
|
||||
'#type': webform_flexbox
|
||||
flex_webform_link_left:
|
||||
'#type': webform_link
|
||||
'#title': 'Link 01'
|
||||
flex_webform_link_right:
|
||||
'#type': webform_link
|
||||
'#title': 'Link 02'
|
||||
flexbox_webform_location:
|
||||
'#type': webform_flexbox
|
||||
flex_webform_location_left:
|
||||
'#type': webform_location
|
||||
'#title': 'Location 01'
|
||||
flex_webform_location_right:
|
||||
'#type': webform_location
|
||||
'#title': 'Location 02'
|
||||
flexbox_machine_name:
|
||||
'#type': webform_flexbox
|
||||
flex_machine_name_left:
|
||||
'#type': machine_name
|
||||
'#title': 'Machine name 01'
|
||||
flex_machine_name_right:
|
||||
'#type': machine_name
|
||||
'#title': 'Machine name 02'
|
||||
flexbox_webform_name:
|
||||
'#type': webform_flexbox
|
||||
flex_webform_name_left:
|
||||
'#type': webform_name
|
||||
'#title': 'Name 01'
|
||||
flex_webform_name_right:
|
||||
'#type': webform_name
|
||||
'#title': 'Name 02'
|
||||
flexbox_number:
|
||||
'#type': webform_flexbox
|
||||
flex_number_left:
|
||||
'#type': number
|
||||
'#title': 'Number 01'
|
||||
'#min': 0
|
||||
'#max': 10
|
||||
'#step': 1
|
||||
flex_number_right:
|
||||
'#type': number
|
||||
'#title': 'Number 02'
|
||||
'#min': 0
|
||||
'#max': 10
|
||||
'#step': 1
|
||||
flexbox_password:
|
||||
'#type': webform_flexbox
|
||||
flex_password_left:
|
||||
'#type': password
|
||||
'#title': 'Password 01'
|
||||
flex_password_right:
|
||||
'#type': password
|
||||
'#title': 'Password 02'
|
||||
flexbox_password_confirm:
|
||||
'#type': webform_flexbox
|
||||
flex_password_confirm_left:
|
||||
'#type': password_confirm
|
||||
'#title': 'Password confirm 01'
|
||||
'#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/1427838">Issue #1427838: password and password_confirm children do not pick up #states or #attributes</a>'
|
||||
flex_password_confirm_right:
|
||||
'#type': password_confirm
|
||||
'#title': 'Password confirm 02'
|
||||
'#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/1427838">Issue #1427838: password and password_confirm children do not pick up #states or #attributes</a>'
|
||||
flexbox_radios:
|
||||
'#type': webform_flexbox
|
||||
flex_radios_left:
|
||||
'#type': radios
|
||||
'#title': 'Radios 01'
|
||||
'#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/2731991">Issue #2731991: Setting required on radios marks all options required</a><br/><a href="https://www.drupal.org/node/994360">Issue #994360: #states cannot disable/enable radios and checkboxes</a><br/><a href="https://www.drupal.org/node/2836364">Issue #2836364: Wrapper attributes are not supported by composite elements, this includes radios, checkboxes, and buttons.</a>'
|
||||
'#options':
|
||||
One: One
|
||||
Two: Two
|
||||
Three: Three
|
||||
flex_radios_right:
|
||||
'#type': radios
|
||||
'#title': 'Radios 02'
|
||||
'#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/2731991">Issue #2731991: Setting required on radios marks all options required</a><br/><a href="https://www.drupal.org/node/994360">Issue #994360: #states cannot disable/enable radios and checkboxes</a><br/><a href="https://www.drupal.org/node/2836364">Issue #2836364: Wrapper attributes are not supported by composite elements, this includes radios, checkboxes, and buttons.</a>'
|
||||
'#options':
|
||||
One: One
|
||||
Two: Two
|
||||
Three: Three
|
||||
flexbox_webform_radios_other:
|
||||
'#type': webform_flexbox
|
||||
flex_webform_radios_other_left:
|
||||
'#type': webform_radios_other
|
||||
'#title': 'Radios other 01'
|
||||
'#options':
|
||||
One: One
|
||||
Two: Two
|
||||
Three: Three
|
||||
flex_webform_radios_other_right:
|
||||
'#type': webform_radios_other
|
||||
'#title': 'Radios other 02'
|
||||
'#options':
|
||||
One: One
|
||||
Two: Two
|
||||
Three: Three
|
||||
flexbox_range:
|
||||
'#type': webform_flexbox
|
||||
flex_range_left:
|
||||
'#type': range
|
||||
'#title': 'Range 01'
|
||||
'#min': 0
|
||||
'#max': 100
|
||||
'#step': 1
|
||||
'#range__output': true
|
||||
'#range__output_prefix': $
|
||||
'#range__output_suffix': '.00'
|
||||
flex_range_right:
|
||||
'#type': range
|
||||
'#title': 'Range 02'
|
||||
'#min': 0
|
||||
'#max': 100
|
||||
'#step': 1
|
||||
'#range__output': true
|
||||
'#range__output_prefix': $
|
||||
'#range__output_suffix': '.00'
|
||||
flexbox_webform_rating:
|
||||
'#type': webform_flexbox
|
||||
flex_webform_rating_left:
|
||||
'#type': webform_rating
|
||||
'#title': 'Rating 01'
|
||||
flex_webform_rating_right:
|
||||
'#type': webform_rating
|
||||
'#title': 'Rating 02'
|
||||
flexbox_search:
|
||||
'#type': webform_flexbox
|
||||
flex_search_left:
|
||||
'#type': search
|
||||
'#title': 'Search 01'
|
||||
flex_search_right:
|
||||
'#type': search
|
||||
'#title': 'Search 02'
|
||||
flexbox_select:
|
||||
'#type': webform_flexbox
|
||||
flex_select_left:
|
||||
'#type': select
|
||||
'#title': 'Select 01'
|
||||
'#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/1426646">Issue #1426646: "-Select-" option is lost when webform elements uses ''#states''</a><br/><a href="https://www.drupal.org/node/1149078">Issue #1149078: States API doesn''t work with multiple select fields</a><br/><a href="https://www.drupal.org/node/2791741">Issue #2791741: FAPI states: fields aren''t hidden initially when depending on multi-value selection</a>'
|
||||
'#options':
|
||||
One: One
|
||||
Two: Two
|
||||
Three: Three
|
||||
flex_select_right:
|
||||
'#type': select
|
||||
'#title': 'Select 02'
|
||||
'#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/1426646">Issue #1426646: "-Select-" option is lost when webform elements uses ''#states''</a><br/><a href="https://www.drupal.org/node/1149078">Issue #1149078: States API doesn''t work with multiple select fields</a><br/><a href="https://www.drupal.org/node/2791741">Issue #2791741: FAPI states: fields aren''t hidden initially when depending on multi-value selection</a>'
|
||||
'#options':
|
||||
One: One
|
||||
Two: Two
|
||||
Three: Three
|
||||
flexbox_webform_select_other:
|
||||
'#type': webform_flexbox
|
||||
flex_webform_select_other_left:
|
||||
'#type': webform_select_other
|
||||
'#title': 'Select other 01'
|
||||
'#options':
|
||||
One: One
|
||||
Two: Two
|
||||
Three: Three
|
||||
flex_webform_select_other_right:
|
||||
'#type': webform_select_other
|
||||
'#title': 'Select other 02'
|
||||
'#options':
|
||||
One: One
|
||||
Two: Two
|
||||
Three: Three
|
||||
flexbox_webform_signature:
|
||||
'#type': webform_flexbox
|
||||
flex_webform_signature_left:
|
||||
'#type': webform_signature
|
||||
'#title': 'Signature 01'
|
||||
flex_webform_signature_right:
|
||||
'#type': webform_signature
|
||||
'#title': 'Signature 02'
|
||||
flexbox_tableselect:
|
||||
'#type': webform_flexbox
|
||||
flex_tableselect_left:
|
||||
'#type': tableselect
|
||||
'#title': 'Table select 01'
|
||||
'#options':
|
||||
One: One
|
||||
Two: Two
|
||||
Three: Three
|
||||
flex_tableselect_right:
|
||||
'#type': tableselect
|
||||
'#title': 'Table select 02'
|
||||
'#options':
|
||||
One: One
|
||||
Two: Two
|
||||
Three: Three
|
||||
flexbox_webform_tableselect_sort:
|
||||
'#type': webform_flexbox
|
||||
flex_webform_tableselect_sort_left:
|
||||
'#type': webform_tableselect_sort
|
||||
'#title': 'Tableselect sort 01'
|
||||
'#options':
|
||||
One: One
|
||||
Two: Two
|
||||
Three: Three
|
||||
flex_webform_tableselect_sort_right:
|
||||
'#type': webform_tableselect_sort
|
||||
'#title': 'Tableselect sort 02'
|
||||
'#options':
|
||||
One: One
|
||||
Two: Two
|
||||
Three: Three
|
||||
flexbox_webform_table_sort:
|
||||
'#type': webform_flexbox
|
||||
flex_webform_table_sort_left:
|
||||
'#type': webform_table_sort
|
||||
'#title': 'Table sort 01'
|
||||
'#options':
|
||||
One: One
|
||||
Two: Two
|
||||
Three: Three
|
||||
flex_webform_table_sort_right:
|
||||
'#type': webform_table_sort
|
||||
'#title': 'Table sort 02'
|
||||
'#options':
|
||||
One: One
|
||||
Two: Two
|
||||
Three: Three
|
||||
flexbox_tel:
|
||||
'#type': webform_flexbox
|
||||
flex_tel_left:
|
||||
'#type': tel
|
||||
'#title': 'Telephone 01'
|
||||
'#international': true
|
||||
flex_tel_right:
|
||||
'#type': tel
|
||||
'#title': 'Telephone 02'
|
||||
'#international': true
|
||||
flexbox_webform_telephone:
|
||||
'#type': webform_flexbox
|
||||
flex_webform_telephone_left:
|
||||
'#type': webform_telephone
|
||||
'#title': 'Telephone advanced 01'
|
||||
flex_webform_telephone_right:
|
||||
'#type': webform_telephone
|
||||
'#title': 'Telephone advanced 02'
|
||||
flexbox_webform_term_select:
|
||||
'#type': webform_flexbox
|
||||
flex_webform_term_select_left:
|
||||
'#type': webform_term_select
|
||||
'#title': 'Term select 01'
|
||||
'#vocabulary': tags
|
||||
flex_webform_term_select_right:
|
||||
'#type': webform_term_select
|
||||
'#title': 'Term select 02'
|
||||
'#vocabulary': tags
|
||||
flexbox_textarea:
|
||||
'#type': webform_flexbox
|
||||
flex_textarea_left:
|
||||
'#type': textarea
|
||||
'#title': 'Textarea 01'
|
||||
flex_textarea_right:
|
||||
'#type': textarea
|
||||
'#title': 'Textarea 02'
|
||||
flexbox_textfield:
|
||||
'#type': webform_flexbox
|
||||
flex_textfield_left:
|
||||
'#type': textfield
|
||||
'#title': 'Text field 01'
|
||||
flex_textfield_right:
|
||||
'#type': textfield
|
||||
'#title': 'Text field 02'
|
||||
flexbox_text_format:
|
||||
'#type': webform_flexbox
|
||||
flex_text_format_left:
|
||||
'#type': text_format
|
||||
'#title': 'Text format 01'
|
||||
'#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/997826">Issue #997826: #states doesn''t work correctly with type text_format</a><br/><a href="https://www.drupal.org/node/2625128">Issue #2625128: Text format selection stays visible when using editor and a hidden webform state</a><br/><a href="https://www.drupal.org/node/1954968">Issue #1954968: Required CKEditor fields always fail HTML5 validation</a>'
|
||||
flex_text_format_right:
|
||||
'#type': text_format
|
||||
'#title': 'Text format 02'
|
||||
'#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/997826">Issue #997826: #states doesn''t work correctly with type text_format</a><br/><a href="https://www.drupal.org/node/2625128">Issue #2625128: Text format selection stays visible when using editor and a hidden webform state</a><br/><a href="https://www.drupal.org/node/1954968">Issue #1954968: Required CKEditor fields always fail HTML5 validation</a>'
|
||||
flexbox_webform_time:
|
||||
'#type': webform_flexbox
|
||||
flex_webform_time_left:
|
||||
'#type': webform_time
|
||||
'#title': 'Time 01'
|
||||
'#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/1838234">Issue #1838234: Add jQuery Timepicker for the Time element of the datetime field</a>'
|
||||
flex_webform_time_right:
|
||||
'#type': webform_time
|
||||
'#title': 'Time 02'
|
||||
'#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/1838234">Issue #1838234: Add jQuery Timepicker for the Time element of the datetime field</a>'
|
||||
flexbox_webform_toggle:
|
||||
'#type': webform_flexbox
|
||||
flex_webform_toggle_left:
|
||||
'#type': webform_toggle
|
||||
'#title': 'Toggle 01'
|
||||
flex_webform_toggle_right:
|
||||
'#type': webform_toggle
|
||||
'#title': 'Toggle 02'
|
||||
flexbox_webform_toggles:
|
||||
'#type': webform_flexbox
|
||||
flex_webform_toggles_left:
|
||||
'#type': webform_toggles
|
||||
'#title': 'Toggles 01'
|
||||
'#options':
|
||||
One: One
|
||||
Two: Two
|
||||
Three: Three
|
||||
flex_webform_toggles_right:
|
||||
'#type': webform_toggles
|
||||
'#title': 'Toggles 02'
|
||||
'#options':
|
||||
One: One
|
||||
Two: Two
|
||||
Three: Three
|
||||
flexbox_url:
|
||||
'#type': webform_flexbox
|
||||
flex_url_left:
|
||||
'#type': url
|
||||
'#title': 'URL 01'
|
||||
flex_url_right:
|
||||
'#type': url
|
||||
'#title': 'URL 02'
|
||||
flexbox_value:
|
||||
'#type': webform_flexbox
|
||||
flex_value_left:
|
||||
'#type': value
|
||||
'#title': 'Value 01'
|
||||
flex_value_right:
|
||||
'#type': value
|
||||
'#title': 'Value 02'
|
||||
flexbox_webform_video_file:
|
||||
'#type': webform_flexbox
|
||||
flex_webform_video_file_left:
|
||||
'#type': webform_video_file
|
||||
'#title': 'Video file 01'
|
||||
flex_webform_video_file_right:
|
||||
'#type': webform_video_file
|
||||
'#title': 'Video file 02'
|
||||
flexbox_properites:
|
||||
'#type': flexbox
|
||||
properties_number:
|
||||
'#type': number
|
||||
'#title': currency
|
||||
'#description': 'A description'
|
||||
'#field_prefix': $
|
||||
'#field_suffix': '.00'
|
||||
properties_textfield:
|
||||
'#type': textfield
|
||||
'#title': textfield
|
||||
'#description': 'A description'
|
||||
flexbox_toggle:
|
||||
'#type': flexbox
|
||||
'#align_items': flex-end
|
||||
toggle:
|
||||
'#type': toggle
|
||||
'#title': toggle
|
||||
toggle_textfield:
|
||||
'#type': textfield
|
||||
'#title': textfield
|
||||
'#flex': 5
|
||||
toggle_rating:
|
||||
'#type': rating
|
||||
'#title': rating
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 0
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: page
|
||||
confirmation_title: ''
|
||||
confirmation_message: ''
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: false
|
||||
results_disabled_ignore: false
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers: { }
|
|
@ -0,0 +1,895 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_element_flexbox_flex
|
||||
title: 'Test: Element: Flexbox flex '
|
||||
description: 'Test flexbox flex containers.'
|
||||
elements: |
|
||||
row_0:
|
||||
'#type': webform_flexbox
|
||||
row_0_col_0:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_0_col_1:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_0_col_2:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_0_col_3:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_0_col_4:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_0_col_5:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_0_col_6:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_0_col_7:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_0_col_8:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_0_col_9:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_0_col_10:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_0_col_11:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_1:
|
||||
'#type': webform_flexbox
|
||||
row_1_col_0:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_1_col_1:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_2:
|
||||
'#type': webform_flexbox
|
||||
row_2_col_0:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_2_col_1:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_2_col_2:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_3:
|
||||
'#type': webform_flexbox
|
||||
row_3_col_0:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_3_col_1:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_3_col_2:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_3_col_3:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_4:
|
||||
'#type': webform_flexbox
|
||||
row_4_col_0:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_4_col_1:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_4_col_2:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_4_col_3:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_4_col_4:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_4_col_5:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_5:
|
||||
'#type': webform_flexbox
|
||||
row_5_col_0:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_5_col_1:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_5_col_2:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_5_col_3:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_5_col_4:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_5_col_5:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_5_col_6:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_5_col_7:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_6:
|
||||
'#type': webform_flexbox
|
||||
row_6_col_0:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_6_col_1:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_6_col_2:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_6_col_3:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_6_col_4:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_6_col_5:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_6_col_6:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_6_col_7:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_6_col_8:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_6_col_9:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_6_col_10:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_6_col_11:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_7:
|
||||
'#type': webform_flexbox
|
||||
row_7_col_0:
|
||||
'#type': container
|
||||
'#flex': 2
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 2
|
||||
row_7_col_1:
|
||||
'#type': container
|
||||
'#flex': 10
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 10
|
||||
row_8:
|
||||
'#type': webform_flexbox
|
||||
row_8_col_0:
|
||||
'#type': container
|
||||
'#flex': 3
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 3
|
||||
row_8_col_1:
|
||||
'#type': container
|
||||
'#flex': 9
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 9
|
||||
row_9:
|
||||
'#type': webform_flexbox
|
||||
row_9_col_0:
|
||||
'#type': container
|
||||
'#flex': 4
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 4
|
||||
row_9_col_1:
|
||||
'#type': container
|
||||
'#flex': 8
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 8
|
||||
row_10:
|
||||
'#type': webform_flexbox
|
||||
row_10_col_0:
|
||||
'#type': container
|
||||
'#flex': 5
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 5
|
||||
row_10_col_1:
|
||||
'#type': container
|
||||
'#flex': 7
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 7
|
||||
row_11:
|
||||
'#type': webform_flexbox
|
||||
row_11_col_0:
|
||||
'#type': container
|
||||
'#flex': 6
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 6
|
||||
row_11_col_1:
|
||||
'#type': container
|
||||
'#flex': 6
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 6
|
||||
row_12:
|
||||
'#type': webform_flexbox
|
||||
row_12_col_0:
|
||||
'#type': container
|
||||
'#flex': 7
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 7
|
||||
row_12_col_1:
|
||||
'#type': container
|
||||
'#flex': 5
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 5
|
||||
row_13:
|
||||
'#type': webform_flexbox
|
||||
row_13_col_0:
|
||||
'#type': container
|
||||
'#flex': 8
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 8
|
||||
row_13_col_1:
|
||||
'#type': container
|
||||
'#flex': 4
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 4
|
||||
row_14:
|
||||
'#type': webform_flexbox
|
||||
row_14_col_0:
|
||||
'#type': container
|
||||
'#flex': 9
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 9
|
||||
row_14_col_1:
|
||||
'#type': container
|
||||
'#flex': 3
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 3
|
||||
row_15:
|
||||
'#type': webform_flexbox
|
||||
row_15_col_0:
|
||||
'#type': container
|
||||
'#flex': 10
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 10
|
||||
row_15_col_1:
|
||||
'#type': container
|
||||
'#flex': 2
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 2
|
||||
row_16:
|
||||
'#type': webform_flexbox
|
||||
row_16_col_0:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_16_col_1:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_16_col_2:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_16_col_3:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_16_col_4:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_16_col_5:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_16_col_6:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_16_col_7:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_16_col_8:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_16_col_9:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_16_col_10:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_16_col_11:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_17:
|
||||
'#type': webform_flexbox
|
||||
row_17_col_0:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_17_col_1:
|
||||
'#type': container
|
||||
'#flex': 10
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 10
|
||||
row_17_col_2:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_18:
|
||||
'#type': webform_flexbox
|
||||
row_18_col_0:
|
||||
'#type': container
|
||||
'#flex': 2
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 2
|
||||
row_18_col_1:
|
||||
'#type': container
|
||||
'#flex': 8
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 8
|
||||
row_18_col_2:
|
||||
'#type': container
|
||||
'#flex': 2
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 2
|
||||
row_19:
|
||||
'#type': webform_flexbox
|
||||
row_19_col_0:
|
||||
'#type': container
|
||||
'#flex': 3
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 3
|
||||
row_19_col_1:
|
||||
'#type': container
|
||||
'#flex': 6
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 6
|
||||
row_19_col_2:
|
||||
'#type': container
|
||||
'#flex': 3
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 3
|
||||
row_20:
|
||||
'#type': webform_flexbox
|
||||
row_20_col_0:
|
||||
'#type': container
|
||||
'#flex': 4
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 4
|
||||
row_20_col_1:
|
||||
'#type': container
|
||||
'#flex': 4
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 4
|
||||
row_20_col_2:
|
||||
'#type': container
|
||||
'#flex': 4
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 4
|
||||
row_21:
|
||||
'#type': webform_flexbox
|
||||
row_21_col_0:
|
||||
'#type': container
|
||||
'#flex': 5
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 5
|
||||
row_21_col_1:
|
||||
'#type': container
|
||||
'#flex': 2
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 2
|
||||
row_21_col_2:
|
||||
'#type': container
|
||||
'#flex': 5
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 5
|
||||
row_22:
|
||||
'#type': webform_flexbox
|
||||
row_22_col_0:
|
||||
'#type': container
|
||||
'#flex': 6
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 6
|
||||
row_22_col_1:
|
||||
'#type': container
|
||||
'#flex': 6
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 6
|
||||
row_23:
|
||||
'#type': webform_flexbox
|
||||
row_23_col_0:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_23_col_1:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_23_col_2:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_23_col_3:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_23_col_4:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_23_col_5:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_23_col_6:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_23_col_7:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_23_col_8:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_23_col_9:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_23_col_10:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
row_23_col_11:
|
||||
'#type': container
|
||||
'#flex': 1
|
||||
'#attributes':
|
||||
style: 'padding: 30px; background: #ccc; text-align: center'
|
||||
flex:
|
||||
'#markup': 1
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 0
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: page
|
||||
confirmation_title: ''
|
||||
confirmation_message: ''
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: false
|
||||
results_disabled_ignore: false
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers: { }
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,489 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_element_format_composite
|
||||
title: 'Test: Element: Format composite'
|
||||
description: 'Test composite element formatting.'
|
||||
elements: |
|
||||
advanced_elements:
|
||||
'#type': details
|
||||
'#title': 'Advanced elements'
|
||||
'#open': true
|
||||
text_format:
|
||||
'#type': details
|
||||
'#title': 'Text format'
|
||||
text_format_basic_html:
|
||||
'#type': text_format
|
||||
'#title': 'Text format (Basic HTML)'
|
||||
'#default_value':
|
||||
value: '<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Negat esse eam, inquit, propter se expetendam. Primum Theophrasti, Strato, physicum se voluit; Id mihi magnum videtur. Itaque mihi non satis videmini considerare quod iter sit naturae quaeque progressio. Quare hoc videndum est, possitne nobis hoc ratio philosophorum dare. Est enim tanti philosophi tamque nobilis audacter sua decreta defendere.</p>'
|
||||
'#format': basic_html
|
||||
text_format_full_html:
|
||||
'#type': text_format
|
||||
'#title': 'Text format (Full HTML)'
|
||||
'#default_value':
|
||||
value: '<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Negat esse eam, inquit, propter se expetendam. Primum Theophrasti, Strato, physicum se voluit; Id mihi magnum videtur. Itaque mihi non satis videmini considerare quod iter sit naturae quaeque progressio. Quare hoc videndum est, possitne nobis hoc ratio philosophorum dare. Est enim tanti philosophi tamque nobilis audacter sua decreta defendere.</p>'
|
||||
'#format': full_html
|
||||
text_format_plain_text:
|
||||
'#type': text_format
|
||||
'#title': 'Text format (Plain text)'
|
||||
'#default_value':
|
||||
value: '<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Negat esse eam, inquit, propter se expetendam. Primum Theophrasti, Strato, physicum se voluit; Id mihi magnum videtur. Itaque mihi non satis videmini considerare quod iter sit naturae quaeque progressio. Quare hoc videndum est, possitne nobis hoc ratio philosophorum dare. Est enim tanti philosophi tamque nobilis audacter sua decreta defendere.</p>'
|
||||
'#format': plain_text
|
||||
text_format_restricted_html:
|
||||
'#type': text_format
|
||||
'#title': 'Text format (Restricted HTML)'
|
||||
'#default_value':
|
||||
value: '<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Negat esse eam, inquit, propter se expetendam. Primum Theophrasti, Strato, physicum se voluit; Id mihi magnum videtur. Itaque mihi non satis videmini considerare quod iter sit naturae quaeque progressio. Quare hoc videndum est, possitne nobis hoc ratio philosophorum dare. Est enim tanti philosophi tamque nobilis audacter sua decreta defendere.</p>'
|
||||
'#format': restricted_html
|
||||
composite_elements:
|
||||
'#type': details
|
||||
'#title': 'Composite elements'
|
||||
'#open': true
|
||||
webform_address:
|
||||
'#type': details
|
||||
'#title': Address
|
||||
webform_address_value:
|
||||
'#type': webform_address
|
||||
'#title': 'Address (Value)'
|
||||
'#default_value':
|
||||
address: '10 Main Street'
|
||||
address_2: '10 Main Street'
|
||||
city: Springfield
|
||||
state_province: Alabama
|
||||
postal_code: Loremipsum
|
||||
country: Afghanistan
|
||||
'#format': value
|
||||
webform_address_raw:
|
||||
'#type': webform_address
|
||||
'#title': 'Address (Raw value)'
|
||||
'#default_value':
|
||||
address: '10 Main Street'
|
||||
address_2: '10 Main Street'
|
||||
city: Springfield
|
||||
state_province: Alabama
|
||||
postal_code: Loremipsum
|
||||
country: Afghanistan
|
||||
'#format': raw
|
||||
webform_address_list:
|
||||
'#type': webform_address
|
||||
'#title': 'Address (List)'
|
||||
'#default_value':
|
||||
address: '10 Main Street'
|
||||
address_2: '10 Main Street'
|
||||
city: Springfield
|
||||
state_province: Alabama
|
||||
postal_code: Loremipsum
|
||||
country: Afghanistan
|
||||
'#format': list
|
||||
webform_contact:
|
||||
'#type': details
|
||||
'#title': Contact
|
||||
webform_contact_value:
|
||||
'#type': webform_contact
|
||||
'#title': 'Contact (Value)'
|
||||
'#default_value':
|
||||
name: Loremipsum
|
||||
company: Loremipsum
|
||||
email: example@example.com
|
||||
phone: 123-456-7890
|
||||
address: '10 Main Street'
|
||||
address_2: '10 Main Street'
|
||||
city: Springfield
|
||||
state_province: Alabama
|
||||
postal_code: Loremipsum
|
||||
country: Afghanistan
|
||||
'#format': value
|
||||
webform_contact_raw:
|
||||
'#type': webform_contact
|
||||
'#title': 'Contact (Raw value)'
|
||||
'#default_value':
|
||||
name: Loremipsum
|
||||
company: Loremipsum
|
||||
email: example@example.com
|
||||
phone: 123-456-7890
|
||||
address: '10 Main Street'
|
||||
address_2: '10 Main Street'
|
||||
city: Springfield
|
||||
state_province: Alabama
|
||||
postal_code: Loremipsum
|
||||
country: Afghanistan
|
||||
'#format': raw
|
||||
webform_contact_list:
|
||||
'#type': webform_contact
|
||||
'#title': 'Contact (List)'
|
||||
'#default_value':
|
||||
name: Loremipsum
|
||||
company: Loremipsum
|
||||
email: example@example.com
|
||||
phone: 123-456-7890
|
||||
address: '10 Main Street'
|
||||
address_2: '10 Main Street'
|
||||
city: Springfield
|
||||
state_province: Alabama
|
||||
postal_code: Loremipsum
|
||||
country: Afghanistan
|
||||
'#format': list
|
||||
webform_creditcard:
|
||||
'#type': details
|
||||
'#title': 'Credit card'
|
||||
webform_creditcard_value:
|
||||
'#type': webform_creditcard
|
||||
'#title': 'Credit card (Value)'
|
||||
'#default_value':
|
||||
warning: null
|
||||
name: Loremipsum
|
||||
type: VI
|
||||
number: '4111111111111111'
|
||||
civ: 111
|
||||
expiration: null
|
||||
expiration_month: 1
|
||||
expiration_year: 2017
|
||||
'#format': value
|
||||
webform_creditcard_raw:
|
||||
'#type': webform_creditcard
|
||||
'#title': 'Credit card (Raw value)'
|
||||
'#default_value':
|
||||
warning: null
|
||||
name: Loremipsum
|
||||
type: VI
|
||||
number: '4111111111111111'
|
||||
civ: 111
|
||||
expiration: null
|
||||
expiration_month: 1
|
||||
expiration_year: 2017
|
||||
'#format': raw
|
||||
webform_creditcard_list:
|
||||
'#type': webform_creditcard
|
||||
'#title': 'Credit card (List)'
|
||||
'#default_value':
|
||||
warning: null
|
||||
name: Loremipsum
|
||||
type: VI
|
||||
number: '4111111111111111'
|
||||
civ: 111
|
||||
expiration: null
|
||||
expiration_month: 1
|
||||
expiration_year: 2017
|
||||
'#format': list
|
||||
webform_link:
|
||||
'#type': details
|
||||
'#title': Link
|
||||
webform_link_value:
|
||||
'#type': webform_link
|
||||
'#title': 'Link (Value)'
|
||||
'#default_value':
|
||||
title: Loremipsum
|
||||
url: 'http://example.com'
|
||||
'#format': value
|
||||
webform_link_raw:
|
||||
'#type': webform_link
|
||||
'#title': 'Link (Raw value)'
|
||||
'#default_value':
|
||||
title: Loremipsum
|
||||
url: 'http://example.com'
|
||||
'#format': raw
|
||||
webform_link_list:
|
||||
'#type': webform_link
|
||||
'#title': 'Link (List)'
|
||||
'#default_value':
|
||||
title: Loremipsum
|
||||
url: 'http://example.com'
|
||||
'#format': list
|
||||
webform_location:
|
||||
'#type': details
|
||||
'#title': Location
|
||||
webform_location_value:
|
||||
'#type': webform_location
|
||||
'#title': 'Location (Value)'
|
||||
'#default_value':
|
||||
value: 'The White House, 1600 Pennsylvania Ave NW, Washington, DC 20500, USA'
|
||||
'#format': value
|
||||
webform_location_raw:
|
||||
'#type': webform_location
|
||||
'#title': 'Location (Raw value)'
|
||||
'#default_value':
|
||||
value: 'The White House, 1600 Pennsylvania Ave NW, Washington, DC 20500, USA'
|
||||
'#format': raw
|
||||
webform_location_list:
|
||||
'#type': webform_location
|
||||
'#title': 'Location (List)'
|
||||
'#default_value':
|
||||
value: 'The White House, 1600 Pennsylvania Ave NW, Washington, DC 20500, USA'
|
||||
'#format': list
|
||||
webform_name:
|
||||
'#type': details
|
||||
'#title': Name
|
||||
webform_name_value:
|
||||
'#type': webform_name
|
||||
'#title': 'Name (Value)'
|
||||
'#default_value':
|
||||
title: Miss
|
||||
first: Loremipsum
|
||||
middle: Loremipsum
|
||||
last: Loremipsum
|
||||
suffix: Loremipsum
|
||||
degree: Loremipsum
|
||||
'#format': value
|
||||
webform_name_raw:
|
||||
'#type': webform_name
|
||||
'#title': 'Name (Raw value)'
|
||||
'#default_value':
|
||||
title: Miss
|
||||
first: Loremipsum
|
||||
middle: Loremipsum
|
||||
last: Loremipsum
|
||||
suffix: Loremipsum
|
||||
degree: Loremipsum
|
||||
'#format': raw
|
||||
webform_name_list:
|
||||
'#type': webform_name
|
||||
'#title': 'Name (List)'
|
||||
'#default_value':
|
||||
title: Miss
|
||||
first: Loremipsum
|
||||
middle: Loremipsum
|
||||
last: Loremipsum
|
||||
suffix: Loremipsum
|
||||
degree: Loremipsum
|
||||
'#format': list
|
||||
webform_telephone:
|
||||
'#type': details
|
||||
'#title': 'Telephone advanced'
|
||||
webform_telephone_value:
|
||||
'#type': webform_telephone
|
||||
'#title': 'Telephone advanced (Value)'
|
||||
'#default_value':
|
||||
type: Home
|
||||
phone: 123-456-7890
|
||||
ext: 1
|
||||
'#format': value
|
||||
webform_telephone_raw:
|
||||
'#type': webform_telephone
|
||||
'#title': 'Telephone advanced (Raw value)'
|
||||
'#default_value':
|
||||
type: Home
|
||||
phone: 123-456-7890
|
||||
ext: 1
|
||||
'#format': raw
|
||||
webform_telephone_list:
|
||||
'#type': webform_telephone
|
||||
'#title': 'Telephone advanced (List)'
|
||||
'#default_value':
|
||||
type: Home
|
||||
phone: 123-456-7890
|
||||
ext: 1
|
||||
'#format': list
|
||||
options_elements:
|
||||
'#type': details
|
||||
'#title': 'Options elements'
|
||||
'#open': true
|
||||
webform_likert:
|
||||
'#type': details
|
||||
'#title': Likert
|
||||
webform_likert_value:
|
||||
'#type': webform_likert
|
||||
'#title': 'Likert (Value)'
|
||||
'#questions':
|
||||
q1: 'Please answer question 1?'
|
||||
q2: 'How about now answering question 2?'
|
||||
q3: 'Finally, here is question 3?'
|
||||
'#answers':
|
||||
1: 1
|
||||
2: 2
|
||||
3: 3
|
||||
4: 4
|
||||
5: 5
|
||||
'#default_value':
|
||||
q1: 1
|
||||
q2: 1
|
||||
q3: 1
|
||||
'#format': value
|
||||
webform_likert_raw:
|
||||
'#type': webform_likert
|
||||
'#title': 'Likert (Raw value)'
|
||||
'#questions':
|
||||
q1: 'Please answer question 1?'
|
||||
q2: 'How about now answering question 2?'
|
||||
q3: 'Finally, here is question 3?'
|
||||
'#answers':
|
||||
1: 1
|
||||
2: 2
|
||||
3: 3
|
||||
4: 4
|
||||
5: 5
|
||||
'#default_value':
|
||||
q1: 1
|
||||
q2: 1
|
||||
q3: 1
|
||||
'#format': raw
|
||||
webform_likert_list:
|
||||
'#type': webform_likert
|
||||
'#title': 'Likert (List)'
|
||||
'#questions':
|
||||
q1: 'Please answer question 1?'
|
||||
q2: 'How about now answering question 2?'
|
||||
q3: 'Finally, here is question 3?'
|
||||
'#answers':
|
||||
1: 1
|
||||
2: 2
|
||||
3: 3
|
||||
4: 4
|
||||
5: 5
|
||||
'#default_value':
|
||||
q1: 1
|
||||
q2: 1
|
||||
q3: 1
|
||||
'#format': list
|
||||
webform_likert_table:
|
||||
'#type': webform_likert
|
||||
'#title': 'Likert (Table)'
|
||||
'#questions':
|
||||
q1: 'Please answer question 1?'
|
||||
q2: 'How about now answering question 2?'
|
||||
q3: 'Finally, here is question 3?'
|
||||
'#answers':
|
||||
1: 1
|
||||
2: 2
|
||||
3: 3
|
||||
4: 4
|
||||
5: 5
|
||||
'#default_value':
|
||||
q1: 1
|
||||
q2: 1
|
||||
q3: 1
|
||||
'#format': table
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 1
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: page
|
||||
confirmation_title: ''
|
||||
confirmation_message: ''
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: false
|
||||
results_disabled_ignore: false
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers:
|
||||
email_text:
|
||||
id: email
|
||||
label: 'Email (Text)'
|
||||
handler_id: email_text
|
||||
status: true
|
||||
weight: 1
|
||||
settings:
|
||||
to_mail: default
|
||||
cc_mail: ''
|
||||
bcc_mail: ''
|
||||
from_mail: default
|
||||
from_name: default
|
||||
subject: default
|
||||
body: default
|
||||
excluded_elements: { }
|
||||
html: false
|
||||
attachments: false
|
||||
debug: true
|
||||
email_html:
|
||||
id: email
|
||||
label: 'Email (HTML)'
|
||||
handler_id: email_html
|
||||
status: true
|
||||
weight: 2
|
||||
settings:
|
||||
to_mail: default
|
||||
cc_mail: ''
|
||||
bcc_mail: ''
|
||||
from_mail: default
|
||||
from_name: default
|
||||
subject: default
|
||||
body: default
|
||||
excluded_elements: { }
|
||||
html: true
|
||||
attachments: false
|
||||
debug: true
|
|
@ -0,0 +1,577 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_element_format_multi_comp
|
||||
title: 'Test: Element: Format composite multiple values'
|
||||
description: 'Test composite element formatting with multiple value.'
|
||||
elements: |
|
||||
composite_elements:
|
||||
'#type': details
|
||||
'#title': 'Composite elements'
|
||||
'#open': true
|
||||
webform_address:
|
||||
'#type': details
|
||||
'#title': Address
|
||||
webform_address_ol:
|
||||
'#type': webform_address
|
||||
'#title': 'Address (Ordered list)'
|
||||
'#multiple': true
|
||||
'#default_value':
|
||||
-
|
||||
address: '10 Main Street'
|
||||
address_2: '10 Main Street'
|
||||
city: Springfield
|
||||
state_province: Alabama
|
||||
postal_code: Loremipsum
|
||||
country: Afghanistan
|
||||
-
|
||||
address: '10 Main Street'
|
||||
address_2: '10 Main Street'
|
||||
city: Springfield
|
||||
state_province: Alabama
|
||||
postal_code: Loremipsum
|
||||
country: Afghanistan
|
||||
-
|
||||
address: '10 Main Street'
|
||||
address_2: '10 Main Street'
|
||||
city: Springfield
|
||||
state_province: Alabama
|
||||
postal_code: Loremipsum
|
||||
country: Afghanistan
|
||||
'#format_items': ol
|
||||
webform_address_ul:
|
||||
'#type': webform_address
|
||||
'#title': 'Address (Unordered list)'
|
||||
'#multiple': true
|
||||
'#default_value':
|
||||
-
|
||||
address: '10 Main Street'
|
||||
address_2: '10 Main Street'
|
||||
city: Springfield
|
||||
state_province: Alabama
|
||||
postal_code: Loremipsum
|
||||
country: Afghanistan
|
||||
-
|
||||
address: '10 Main Street'
|
||||
address_2: '10 Main Street'
|
||||
city: Springfield
|
||||
state_province: Alabama
|
||||
postal_code: Loremipsum
|
||||
country: Afghanistan
|
||||
-
|
||||
address: '10 Main Street'
|
||||
address_2: '10 Main Street'
|
||||
city: Springfield
|
||||
state_province: Alabama
|
||||
postal_code: Loremipsum
|
||||
country: Afghanistan
|
||||
'#format_items': ul
|
||||
webform_address_hr:
|
||||
'#type': webform_address
|
||||
'#title': 'Address (Horizontal rule)'
|
||||
'#multiple': true
|
||||
'#default_value':
|
||||
-
|
||||
address: '10 Main Street'
|
||||
address_2: '10 Main Street'
|
||||
city: Springfield
|
||||
state_province: Alabama
|
||||
postal_code: Loremipsum
|
||||
country: Afghanistan
|
||||
-
|
||||
address: '10 Main Street'
|
||||
address_2: '10 Main Street'
|
||||
city: Springfield
|
||||
state_province: Alabama
|
||||
postal_code: Loremipsum
|
||||
country: Afghanistan
|
||||
-
|
||||
address: '10 Main Street'
|
||||
address_2: '10 Main Street'
|
||||
city: Springfield
|
||||
state_province: Alabama
|
||||
postal_code: Loremipsum
|
||||
country: Afghanistan
|
||||
'#format_items': hr
|
||||
webform_contact:
|
||||
'#type': details
|
||||
'#title': Contact
|
||||
webform_contact_ol:
|
||||
'#type': webform_contact
|
||||
'#title': 'Contact (Ordered list)'
|
||||
'#multiple': true
|
||||
'#default_value':
|
||||
-
|
||||
name: Loremipsum
|
||||
company: Loremipsum
|
||||
email: example@example.com
|
||||
phone: 123-456-7890
|
||||
address: '10 Main Street'
|
||||
address_2: '10 Main Street'
|
||||
city: Springfield
|
||||
state_province: Alabama
|
||||
postal_code: Loremipsum
|
||||
country: Afghanistan
|
||||
-
|
||||
name: Loremipsum
|
||||
company: Loremipsum
|
||||
email: example@example.com
|
||||
phone: 123-456-7890
|
||||
address: '10 Main Street'
|
||||
address_2: '10 Main Street'
|
||||
city: Springfield
|
||||
state_province: Alabama
|
||||
postal_code: Loremipsum
|
||||
country: Afghanistan
|
||||
-
|
||||
name: Loremipsum
|
||||
company: Loremipsum
|
||||
email: example@example.com
|
||||
phone: 123-456-7890
|
||||
address: '10 Main Street'
|
||||
address_2: '10 Main Street'
|
||||
city: Springfield
|
||||
state_province: Alabama
|
||||
postal_code: Loremipsum
|
||||
country: Afghanistan
|
||||
'#format_items': ol
|
||||
webform_contact_ul:
|
||||
'#type': webform_contact
|
||||
'#title': 'Contact (Unordered list)'
|
||||
'#multiple': true
|
||||
'#default_value':
|
||||
-
|
||||
name: Loremipsum
|
||||
company: Loremipsum
|
||||
email: example@example.com
|
||||
phone: 123-456-7890
|
||||
address: '10 Main Street'
|
||||
address_2: '10 Main Street'
|
||||
city: Springfield
|
||||
state_province: Alabama
|
||||
postal_code: Loremipsum
|
||||
country: Afghanistan
|
||||
-
|
||||
name: Loremipsum
|
||||
company: Loremipsum
|
||||
email: example@example.com
|
||||
phone: 123-456-7890
|
||||
address: '10 Main Street'
|
||||
address_2: '10 Main Street'
|
||||
city: Springfield
|
||||
state_province: Alabama
|
||||
postal_code: Loremipsum
|
||||
country: Afghanistan
|
||||
-
|
||||
name: Loremipsum
|
||||
company: Loremipsum
|
||||
email: example@example.com
|
||||
phone: 123-456-7890
|
||||
address: '10 Main Street'
|
||||
address_2: '10 Main Street'
|
||||
city: Springfield
|
||||
state_province: Alabama
|
||||
postal_code: Loremipsum
|
||||
country: Afghanistan
|
||||
'#format_items': ul
|
||||
webform_contact_hr:
|
||||
'#type': webform_contact
|
||||
'#title': 'Contact (Horizontal rule)'
|
||||
'#multiple': true
|
||||
'#default_value':
|
||||
-
|
||||
name: Loremipsum
|
||||
company: Loremipsum
|
||||
email: example@example.com
|
||||
phone: 123-456-7890
|
||||
address: '10 Main Street'
|
||||
address_2: '10 Main Street'
|
||||
city: Springfield
|
||||
state_province: Alabama
|
||||
postal_code: Loremipsum
|
||||
country: Afghanistan
|
||||
-
|
||||
name: Loremipsum
|
||||
company: Loremipsum
|
||||
email: example@example.com
|
||||
phone: 123-456-7890
|
||||
address: '10 Main Street'
|
||||
address_2: '10 Main Street'
|
||||
city: Springfield
|
||||
state_province: Alabama
|
||||
postal_code: Loremipsum
|
||||
country: Afghanistan
|
||||
-
|
||||
name: Loremipsum
|
||||
company: Loremipsum
|
||||
email: example@example.com
|
||||
phone: 123-456-7890
|
||||
address: '10 Main Street'
|
||||
address_2: '10 Main Street'
|
||||
city: Springfield
|
||||
state_province: Alabama
|
||||
postal_code: Loremipsum
|
||||
country: Afghanistan
|
||||
'#format_items': hr
|
||||
webform_link:
|
||||
'#type': details
|
||||
'#title': Link
|
||||
webform_link_ol:
|
||||
'#type': webform_link
|
||||
'#title': 'Link (Ordered list)'
|
||||
'#multiple': true
|
||||
'#default_value':
|
||||
-
|
||||
title: Loremipsum
|
||||
url: 'http://example.com'
|
||||
-
|
||||
title: Loremipsum
|
||||
url: 'http://example.com'
|
||||
-
|
||||
title: Loremipsum
|
||||
url: 'http://example.com'
|
||||
'#format_items': ol
|
||||
webform_link_ul:
|
||||
'#type': webform_link
|
||||
'#title': 'Link (Unordered list)'
|
||||
'#multiple': true
|
||||
'#default_value':
|
||||
-
|
||||
title: Loremipsum
|
||||
url: 'http://example.com'
|
||||
-
|
||||
title: Loremipsum
|
||||
url: 'http://example.com'
|
||||
-
|
||||
title: Loremipsum
|
||||
url: 'http://example.com'
|
||||
'#format_items': ul
|
||||
webform_link_hr:
|
||||
'#type': webform_link
|
||||
'#title': 'Link (Horizontal rule)'
|
||||
'#multiple': true
|
||||
'#default_value':
|
||||
-
|
||||
title: Loremipsum
|
||||
url: 'http://example.com'
|
||||
-
|
||||
title: Loremipsum
|
||||
url: 'http://example.com'
|
||||
-
|
||||
title: Loremipsum
|
||||
url: 'http://example.com'
|
||||
'#format_items': hr
|
||||
webform_location:
|
||||
'#type': details
|
||||
'#title': Location
|
||||
webform_location_ol:
|
||||
'#type': webform_location
|
||||
'#title': 'Location (Ordered list)'
|
||||
'#multiple': true
|
||||
'#default_value':
|
||||
-
|
||||
value: 'The White House, 1600 Pennsylvania Ave NW, Washington, DC 20500, USA'
|
||||
-
|
||||
value: 'London SW1A 1AA, United Kingdom'
|
||||
-
|
||||
value: 'Moscow, Russia, 10307'
|
||||
'#format_items': ol
|
||||
webform_location_ul:
|
||||
'#type': webform_location
|
||||
'#title': 'Location (Unordered list)'
|
||||
'#multiple': true
|
||||
'#default_value':
|
||||
-
|
||||
value: 'The White House, 1600 Pennsylvania Ave NW, Washington, DC 20500, USA'
|
||||
-
|
||||
value: 'London SW1A 1AA, United Kingdom'
|
||||
-
|
||||
value: 'Moscow, Russia, 10307'
|
||||
'#format_items': ul
|
||||
webform_location_hr:
|
||||
'#type': webform_location
|
||||
'#title': 'Location (Horizontal rule)'
|
||||
'#multiple': true
|
||||
'#default_value':
|
||||
-
|
||||
value: 'The White House, 1600 Pennsylvania Ave NW, Washington, DC 20500, USA'
|
||||
-
|
||||
value: 'London SW1A 1AA, United Kingdom'
|
||||
-
|
||||
value: 'Moscow, Russia, 10307'
|
||||
'#format_items': hr
|
||||
webform_name:
|
||||
'#type': details
|
||||
'#title': Name
|
||||
webform_name_ol:
|
||||
'#type': webform_name
|
||||
'#title': 'Name (Ordered list)'
|
||||
'#multiple': true
|
||||
'#default_value':
|
||||
-
|
||||
title: Miss
|
||||
first: Loremipsum
|
||||
middle: Loremipsum
|
||||
last: Loremipsum
|
||||
suffix: Loremipsum
|
||||
degree: Loremipsum
|
||||
-
|
||||
title: Miss
|
||||
first: Loremipsum
|
||||
middle: Loremipsum
|
||||
last: Loremipsum
|
||||
suffix: Loremipsum
|
||||
degree: Loremipsum
|
||||
-
|
||||
title: Miss
|
||||
first: Loremipsum
|
||||
middle: Loremipsum
|
||||
last: Loremipsum
|
||||
suffix: Loremipsum
|
||||
degree: Loremipsum
|
||||
'#format_items': ol
|
||||
webform_name_ul:
|
||||
'#type': webform_name
|
||||
'#title': 'Name (Unordered list)'
|
||||
'#multiple': true
|
||||
'#default_value':
|
||||
-
|
||||
title: Miss
|
||||
first: Loremipsum
|
||||
middle: Loremipsum
|
||||
last: Loremipsum
|
||||
suffix: Loremipsum
|
||||
degree: Loremipsum
|
||||
-
|
||||
title: Miss
|
||||
first: Loremipsum
|
||||
middle: Loremipsum
|
||||
last: Loremipsum
|
||||
suffix: Loremipsum
|
||||
degree: Loremipsum
|
||||
-
|
||||
title: Miss
|
||||
first: Loremipsum
|
||||
middle: Loremipsum
|
||||
last: Loremipsum
|
||||
suffix: Loremipsum
|
||||
degree: Loremipsum
|
||||
'#format_items': ul
|
||||
webform_name_hr:
|
||||
'#type': webform_name
|
||||
'#title': 'Name (Horizontal rule)'
|
||||
'#multiple': true
|
||||
'#default_value':
|
||||
-
|
||||
title: Miss
|
||||
first: Loremipsum
|
||||
middle: Loremipsum
|
||||
last: Loremipsum
|
||||
suffix: Loremipsum
|
||||
degree: Loremipsum
|
||||
-
|
||||
title: Miss
|
||||
first: Loremipsum
|
||||
middle: Loremipsum
|
||||
last: Loremipsum
|
||||
suffix: Loremipsum
|
||||
degree: Loremipsum
|
||||
-
|
||||
title: Miss
|
||||
first: Loremipsum
|
||||
middle: Loremipsum
|
||||
last: Loremipsum
|
||||
suffix: Loremipsum
|
||||
degree: Loremipsum
|
||||
'#format_items': hr
|
||||
webform_telephone:
|
||||
'#type': details
|
||||
'#title': 'Telephone advanced'
|
||||
webform_telephone_ol:
|
||||
'#type': webform_telephone
|
||||
'#title': 'Telephone advanced (Ordered list)'
|
||||
'#multiple': true
|
||||
'#default_value':
|
||||
-
|
||||
type: Home
|
||||
phone: 123-456-7890
|
||||
ext: 1
|
||||
-
|
||||
type: Home
|
||||
phone: 123-456-7890
|
||||
ext: 1
|
||||
-
|
||||
type: Home
|
||||
phone: 123-456-7890
|
||||
ext: 1
|
||||
'#format_items': ol
|
||||
webform_telephone_ul:
|
||||
'#type': webform_telephone
|
||||
'#title': 'Telephone advanced (Unordered list)'
|
||||
'#multiple': true
|
||||
'#default_value':
|
||||
-
|
||||
type: Home
|
||||
phone: 123-456-7890
|
||||
ext: 1
|
||||
-
|
||||
type: Home
|
||||
phone: 123-456-7890
|
||||
ext: 1
|
||||
-
|
||||
type: Home
|
||||
phone: 123-456-7890
|
||||
ext: 1
|
||||
'#format_items': ul
|
||||
webform_telephone_hr:
|
||||
'#type': webform_telephone
|
||||
'#title': 'Telephone advanced (Horizontal rule)'
|
||||
'#multiple': true
|
||||
'#default_value':
|
||||
-
|
||||
type: Home
|
||||
phone: 123-456-7890
|
||||
ext: 1
|
||||
-
|
||||
type: Home
|
||||
phone: 123-456-7890
|
||||
ext: 1
|
||||
-
|
||||
type: Home
|
||||
phone: 123-456-7890
|
||||
ext: 1
|
||||
'#format_items': hr
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 1
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: page
|
||||
confirmation_title: ''
|
||||
confirmation_message: ''
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: false
|
||||
results_disabled_ignore: false
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers:
|
||||
email_text:
|
||||
id: email
|
||||
label: 'Email (Text)'
|
||||
handler_id: email_text
|
||||
status: true
|
||||
weight: 1
|
||||
settings:
|
||||
to_mail: default
|
||||
cc_mail: ''
|
||||
bcc_mail: ''
|
||||
from_mail: default
|
||||
from_name: default
|
||||
subject: default
|
||||
body: default
|
||||
excluded_elements: { }
|
||||
html: false
|
||||
attachments: false
|
||||
debug: true
|
||||
email_html:
|
||||
id: email
|
||||
label: 'Email (HTML)'
|
||||
handler_id: email_html
|
||||
status: true
|
||||
weight: 2
|
||||
settings:
|
||||
to_mail: default
|
||||
cc_mail: ''
|
||||
bcc_mail: ''
|
||||
from_mail: default
|
||||
from_name: default
|
||||
subject: default
|
||||
body: default
|
||||
excluded_elements: { }
|
||||
html: true
|
||||
attachments: false
|
||||
debug: true
|
File diff suppressed because it is too large
Load diff
|
@ -0,0 +1,179 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_element_format_token
|
||||
title: 'Test: Element: Format: Token'
|
||||
description: 'Test element formatting using tokens.'
|
||||
elements: |
|
||||
checkboxes:
|
||||
'#type': checkboxes
|
||||
'#title': checkboxes
|
||||
'#options':
|
||||
1: one
|
||||
2: two
|
||||
3: three
|
||||
'#default_value':
|
||||
- 1
|
||||
- 2
|
||||
- 3
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 0
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: page
|
||||
confirmation_title: ''
|
||||
confirmation_message: ''
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: false
|
||||
results_disabled_ignore: false
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers:
|
||||
email_html:
|
||||
id: email
|
||||
label: 'Email (HTML)'
|
||||
handler_id: email_html
|
||||
status: false
|
||||
weight: -9
|
||||
settings:
|
||||
to_mail: default
|
||||
cc_mail: ''
|
||||
bcc_mail: ''
|
||||
from_mail: default
|
||||
from_name: default
|
||||
subject: default
|
||||
body: |
|
||||
<h3>default:</h3>[webform_submission:values:checkboxes]<hr/>
|
||||
<h3>comma:</h3>[webform_submission:values:checkboxes:value:comma]<hr/>
|
||||
<h3>semicolon:</h3>[webform_submission:values:checkboxes:value:semicolon]<hr/>
|
||||
<h3>and:</h3>[webform_submission:values:checkboxes:value:and]<hr/>
|
||||
<h3>ul:</h3>[webform_submission:values:checkboxes:value:ul]<hr/>
|
||||
<h3>ol:</h3>[webform_submission:values:checkboxes:value:ol]<hr/>
|
||||
<h3>raw:</h3>[webform_submission:values:checkboxes:raw]<hr/>
|
||||
excluded_elements: { }
|
||||
html: true
|
||||
attachments: false
|
||||
debug: true
|
||||
email_text:
|
||||
id: email
|
||||
label: 'Email (Text)'
|
||||
handler_id: email_text
|
||||
status: false
|
||||
weight: -10
|
||||
settings:
|
||||
to_mail: default
|
||||
cc_mail: ''
|
||||
bcc_mail: ''
|
||||
from_mail: default
|
||||
from_name: default
|
||||
subject: default
|
||||
body: |
|
||||
default:
|
||||
[webform_submission:values:checkboxes]
|
||||
|
||||
comma:
|
||||
[webform_submission:values:checkboxes:value:comma]
|
||||
|
||||
semicolon:
|
||||
[webform_submission:values:checkboxes:value:semicolon]
|
||||
|
||||
and:
|
||||
[webform_submission:values:checkboxes:value:and]
|
||||
|
||||
ul:
|
||||
[webform_submission:values:checkboxes:value:ul]
|
||||
|
||||
ol:
|
||||
[webform_submission:values:checkboxes:value:ol]
|
||||
|
||||
raw:
|
||||
[webform_submission:values:checkboxes:raw]
|
||||
excluded_elements: { }
|
||||
html: false
|
||||
attachments: false
|
||||
debug: true
|
|
@ -0,0 +1,109 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_element_html_editor
|
||||
title: 'Test: Element: HTML editor'
|
||||
description: 'Test HTML editor element.'
|
||||
elements: |
|
||||
webform_html_editor:
|
||||
'#type': webform_html_editor
|
||||
'#title': 'webform_html_editor (default)'
|
||||
'#default_value': 'Hello <b>World!!!</b>'
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 0
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: page
|
||||
confirmation_title: ''
|
||||
confirmation_message: ''
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: false
|
||||
results_disabled_ignore: false
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers: { }
|
|
@ -0,0 +1,595 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_element_html_escape
|
||||
title: 'Test: Element: HTML escaping'
|
||||
description: 'Test element HTML escaping support'
|
||||
elements: |
|
||||
basic_elements:
|
||||
'#type': details
|
||||
'#title': 'Basic elements | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#open': true
|
||||
checkbox:
|
||||
'#type': checkbox
|
||||
'#title': 'Checkbox | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
hidden:
|
||||
'#type': hidden
|
||||
'#title': 'Hidden | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
password:
|
||||
'#type': password
|
||||
'#title': 'Password | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
textarea:
|
||||
'#type': textarea
|
||||
'#title': 'Textarea | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
textfield:
|
||||
'#type': textfield
|
||||
'#title': 'Text field | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
textfield_multiple:
|
||||
'#type': textfield
|
||||
'#title': 'Text field multiple | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#multiple': true
|
||||
advanced_elements:
|
||||
'#type': details
|
||||
'#title': 'Advanced elements | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#open': true
|
||||
webform_autocomplete:
|
||||
'#type': webform_autocomplete
|
||||
'#title': 'Autocomplete | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#autocomplete_items': country_names
|
||||
webform_autocomplete_multiple:
|
||||
'#type': webform_autocomplete
|
||||
'#title': 'Autocomplete multiple | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#autocomplete_items': country_names
|
||||
'#multiple': true
|
||||
captcha:
|
||||
'#type': captcha
|
||||
'#title': 'CAPTCHA | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
webform_codemirror:
|
||||
'#type': webform_codemirror
|
||||
'#title': 'CodeMirror | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#mode': yaml
|
||||
color:
|
||||
'#type': color
|
||||
'#title': 'Color | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
webform_creditcard_number:
|
||||
'#type': webform_creditcard_number
|
||||
'#title': 'Credit card number | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
email:
|
||||
'#type': email
|
||||
'#title': 'Email | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
email_multiple:
|
||||
'#type': email
|
||||
'#title': 'Email multiple | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#multiple': true
|
||||
webform_email_confirm:
|
||||
'#type': webform_email_confirm
|
||||
'#title': 'Email confirm | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
webform_email_multiple:
|
||||
'#type': webform_email_multiple
|
||||
'#title': 'Email multiple | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
number:
|
||||
'#type': number
|
||||
'#title': 'Number | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#min': 0
|
||||
'#max': 10
|
||||
'#step': 1
|
||||
number_multiple:
|
||||
'#type': number
|
||||
'#title': 'Number multiple | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#min': 0
|
||||
'#max': 10
|
||||
'#step': 1
|
||||
'#multiple': true
|
||||
password_confirm:
|
||||
'#type': password_confirm
|
||||
'#title': 'Password confirm | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/1427838">Issue #1427838: password and password_confirm children do not pick up #states or #attributes</a>'
|
||||
range:
|
||||
'#type': range
|
||||
'#title': 'Range | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#min': 0
|
||||
'#max': 100
|
||||
'#step': 1
|
||||
'#range__output': true
|
||||
'#range__output_prefix': $
|
||||
'#range__output_suffix': '.00'
|
||||
webform_rating:
|
||||
'#type': webform_rating
|
||||
'#title': 'Rating | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
search:
|
||||
'#type': search
|
||||
'#title': 'Search | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
webform_signature:
|
||||
'#type': webform_signature
|
||||
'#title': 'Signature | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
tel:
|
||||
'#type': tel
|
||||
'#title': 'Telephone | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#international': true
|
||||
tel_multiple:
|
||||
'#type': tel
|
||||
'#title': 'Telephone multiple | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#international': true
|
||||
'#multiple': true
|
||||
text_format:
|
||||
'#type': text_format
|
||||
'#title': 'Text format | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/997826">Issue #997826: #states doesn''t work correctly with type text_format</a><br/><a href="https://www.drupal.org/node/2625128">Issue #2625128: Text format selection stays visible when using editor and a hidden webform state</a><br/><a href="https://www.drupal.org/node/1954968">Issue #1954968: Required CKEditor fields always fail HTML5 validation</a>'
|
||||
webform_toggle:
|
||||
'#type': webform_toggle
|
||||
'#title': 'Toggle | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
url:
|
||||
'#type': url
|
||||
'#title': 'URL | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
url_multiple:
|
||||
'#type': url
|
||||
'#title': 'URL multiple | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#multiple': true
|
||||
value:
|
||||
'#type': value
|
||||
'#title': 'Value | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
markup_elements:
|
||||
'#type': details
|
||||
'#title': 'Markup elements | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#open': true
|
||||
processed_text:
|
||||
'#type': processed_text
|
||||
'#title': 'Advanced HTML/Text | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
processed_text_content:
|
||||
'#markup': 'This is a Advanced HTML/Text container.'
|
||||
webform_markup:
|
||||
'#type': webform_markup
|
||||
'#title': 'Basic HTML | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/2700667">Issue #2700667: Notice: Undefined index: #type in drupal_process_states()</a>'
|
||||
webform_markup_content:
|
||||
'#markup': 'This is a Basic HTML container.'
|
||||
webform_message:
|
||||
'#type': webform_message
|
||||
'#title': 'Message | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/77245">Issue #77245: A place for JavaScript status messages</a>'
|
||||
'#message_type': warning
|
||||
'#message_message': 'This is a <strong>warning</strong> message.'
|
||||
webform_message_content:
|
||||
'#markup': 'This is a Message container.'
|
||||
file_upload_elements:
|
||||
'#type': details
|
||||
'#title': 'File upload elements | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#open': true
|
||||
webform_audio_file:
|
||||
'#type': webform_audio_file
|
||||
'#title': 'Audio file | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
webform_audio_file_multiple:
|
||||
'#type': webform_audio_file
|
||||
'#title': 'Audio file multiple | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#multiple': true
|
||||
webform_document_file:
|
||||
'#type': webform_document_file
|
||||
'#title': 'Document file | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
webform_document_file_multiple:
|
||||
'#type': webform_document_file
|
||||
'#title': 'Document file multiple | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#multiple': true
|
||||
managed_file:
|
||||
'#type': managed_file
|
||||
'#title': 'File | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/2705471">Issue #2705471: Webform states managed file fields</a><br/><a href="https://www.drupal.org/node/2113931">Issue #2113931: File Field design update</a>'
|
||||
managed_file_multiple:
|
||||
'#type': managed_file
|
||||
'#title': 'File multiple | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#multiple': true
|
||||
webform_image_file:
|
||||
'#type': webform_image_file
|
||||
'#title': 'Image file | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
webform_image_file_multiple:
|
||||
'#type': webform_image_file
|
||||
'#title': 'Image file multiple | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#multiple': true
|
||||
webform_video_file:
|
||||
'#type': webform_video_file
|
||||
'#title': 'Video file | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
webform_video_file_multiple:
|
||||
'#type': webform_video_file
|
||||
'#title': 'Video file multiple | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#multiple': true
|
||||
options_elements:
|
||||
'#type': details
|
||||
'#title': 'Options elements | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#open': true
|
||||
webform_buttons:
|
||||
'#type': webform_buttons
|
||||
'#title': 'Buttons | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#options':
|
||||
one: One
|
||||
two: Two
|
||||
three: Three
|
||||
four: Four
|
||||
five: Five
|
||||
webform_buttons_other:
|
||||
'#type': webform_buttons_other
|
||||
'#title': 'Buttons other | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#options':
|
||||
one: One
|
||||
two: Two
|
||||
three: Three
|
||||
four: Four
|
||||
five: Five
|
||||
checkboxes:
|
||||
'#type': checkboxes
|
||||
'#title': 'Checkboxes | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/994360">Issue #994360: #states cannot disable/enable radios and checkboxes</a><br/><a href="https://www.drupal.org/node/2836364">Issue #2836364: Wrapper attributes are not supported by composite elements, this includes radios, checkboxes, and buttons.</a>'
|
||||
'#options':
|
||||
one: One
|
||||
two: Two
|
||||
three: Three
|
||||
four: Four
|
||||
five: Five
|
||||
webform_checkboxes_other:
|
||||
'#type': webform_checkboxes_other
|
||||
'#title': 'Checkboxes other | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#options':
|
||||
one: One
|
||||
two: Two
|
||||
three: Three
|
||||
four: Four
|
||||
five: Five
|
||||
webform_likert:
|
||||
'#type': webform_likert
|
||||
'#title': 'Likert | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#questions':
|
||||
q1: 'Please answer question 1?'
|
||||
q2: 'How about now answering question 2?'
|
||||
q3: 'Finally, here is question 3?'
|
||||
'#answers':
|
||||
1: 1
|
||||
2: 2
|
||||
3: 3
|
||||
4: 4
|
||||
5: 5
|
||||
radios:
|
||||
'#type': radios
|
||||
'#title': 'Radios | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/2731991">Issue #2731991: Setting required on radios marks all options required</a><br/><a href="https://www.drupal.org/node/994360">Issue #994360: #states cannot disable/enable radios and checkboxes</a><br/><a href="https://www.drupal.org/node/2836364">Issue #2836364: Wrapper attributes are not supported by composite elements, this includes radios, checkboxes, and buttons.</a>'
|
||||
'#options':
|
||||
one: One
|
||||
two: Two
|
||||
three: Three
|
||||
four: Four
|
||||
five: Five
|
||||
webform_radios_other:
|
||||
'#type': webform_radios_other
|
||||
'#title': 'Radios other | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#options':
|
||||
one: One
|
||||
two: Two
|
||||
three: Three
|
||||
four: Four
|
||||
five: Five
|
||||
select:
|
||||
'#type': select
|
||||
'#title': 'Select | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/1426646">Issue #1426646: "-Select-" option is lost when webform elements uses ''#states''</a><br/><a href="https://www.drupal.org/node/1149078">Issue #1149078: States API doesn''t work with multiple select fields</a><br/><a href="https://www.drupal.org/node/2791741">Issue #2791741: FAPI states: fields aren''t hidden initially when depending on multi-value selection</a>'
|
||||
'#options':
|
||||
one: One
|
||||
two: Two
|
||||
three: Three
|
||||
four: Four
|
||||
five: Five
|
||||
select_multiple:
|
||||
'#type': select
|
||||
'#title': 'Select multiple | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#options':
|
||||
one: One
|
||||
two: Two
|
||||
three: Three
|
||||
four: Four
|
||||
five: Five
|
||||
'#multiple': true
|
||||
'#select2': true
|
||||
webform_select_other:
|
||||
'#type': webform_select_other
|
||||
'#title': 'Select other | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#options':
|
||||
one: One
|
||||
two: Two
|
||||
three: Three
|
||||
four: Four
|
||||
five: Five
|
||||
webform_select_other_multiple:
|
||||
'#type': webform_select_other
|
||||
'#title': 'Select other multiple | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#options':
|
||||
one: One
|
||||
two: Two
|
||||
three: Three
|
||||
four: Four
|
||||
five: Five
|
||||
'#multiple': true
|
||||
'#select2': true
|
||||
tableselect:
|
||||
'#type': tableselect
|
||||
'#title': 'Table select | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#options':
|
||||
one: One
|
||||
two: Two
|
||||
three: Three
|
||||
four: Four
|
||||
five: Five
|
||||
webform_tableselect_sort:
|
||||
'#type': webform_tableselect_sort
|
||||
'#title': 'Tableselect sort | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#options':
|
||||
one: One
|
||||
two: Two
|
||||
three: Three
|
||||
four: Four
|
||||
five: Five
|
||||
webform_table_sort:
|
||||
'#type': webform_table_sort
|
||||
'#title': 'Table sort | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#options':
|
||||
one: One
|
||||
two: Two
|
||||
three: Three
|
||||
four: Four
|
||||
five: Five
|
||||
webform_toggles:
|
||||
'#type': webform_toggles
|
||||
'#title': 'Toggles | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#options':
|
||||
one: One
|
||||
two: Two
|
||||
three: Three
|
||||
four: Four
|
||||
five: Five
|
||||
containers:
|
||||
'#type': details
|
||||
'#title': 'Containers | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#open': true
|
||||
container:
|
||||
'#type': container
|
||||
'#title': 'Container | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
container_content:
|
||||
'#markup': 'This is a Container container.'
|
||||
details:
|
||||
'#type': details
|
||||
'#title': 'Details | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/2348851">Issue #2348851: Regression: Allow HTML tags inside detail summary</a>'
|
||||
details_content:
|
||||
'#markup': 'This is a Details container.'
|
||||
fieldset:
|
||||
'#type': fieldset
|
||||
'#title': 'Fieldset | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
fieldset_content:
|
||||
'#markup': 'This is a Fieldset container.'
|
||||
item:
|
||||
'#type': item
|
||||
'#title': 'Item | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/783438">Issue #783438: #states doesn''t work for #type item</a>'
|
||||
'#markup': '{markup}'
|
||||
'#field_prefix': '{field_prefix} | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#field_suffix': '{field_suffix} | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
item_content:
|
||||
'#markup': 'This is a Item container.'
|
||||
label:
|
||||
'#type': label
|
||||
'#title': 'Label | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
label_content:
|
||||
'#markup': 'This is a Label container.'
|
||||
date_time_elements:
|
||||
'#type': details
|
||||
'#title': 'Date/time elements | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#open': true
|
||||
date:
|
||||
'#type': date
|
||||
'#title': 'Date | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
date_multiple:
|
||||
'#type': date
|
||||
'#title': 'Date multiple | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#multiple': true
|
||||
datetime:
|
||||
'#type': datetime
|
||||
'#title': 'Date/time | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/2419131">Issue #2419131: #states attribute does not work on #type datetime</a>'
|
||||
datetime_multiple:
|
||||
'#type': datetime
|
||||
'#title': 'Date/time multiple | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#multiple': true
|
||||
datelist:
|
||||
'#type': datelist
|
||||
'#title': 'Date list | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
datelist_multiple:
|
||||
'#type': datelist
|
||||
'#title': 'Date list multiple | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#multiple': true
|
||||
webform_time:
|
||||
'#type': webform_time
|
||||
'#title': 'Time | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/1838234">Issue #1838234: Add jQuery Timepicker for the Time element of the datetime field</a>'
|
||||
webform_time_multiple:
|
||||
'#type': webform_time
|
||||
'#title': 'Time multiple | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#multiple': true
|
||||
entity_reference_elements:
|
||||
'#type': details
|
||||
'#title': 'Entity reference elements | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#open': true
|
||||
entity_autocomplete:
|
||||
'#type': entity_autocomplete
|
||||
'#title': 'Entity autocomplete | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/2826451">Issue #2826451: TermSelection returning HTML characters in select list</a>'
|
||||
'#target_type': user
|
||||
'#selection_handler': 'default:user'
|
||||
'#selection_settings':
|
||||
include_anonymous: true
|
||||
entity_autocomplete_tags:
|
||||
'#type': entity_autocomplete
|
||||
'#title': 'Entity autocomplete tags | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#target_type': user
|
||||
'#selection_handler': 'default:user'
|
||||
'#selection_settings':
|
||||
include_anonymous: true
|
||||
'#tags': true
|
||||
entity_autocomplete_multiple:
|
||||
'#type': entity_autocomplete
|
||||
'#title': 'Entity autocomplete multiple | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#target_type': user
|
||||
'#selection_handler': 'default:user'
|
||||
'#selection_settings':
|
||||
include_anonymous: true
|
||||
'#multiple': true
|
||||
webform_entity_checkboxes:
|
||||
'#type': webform_entity_checkboxes
|
||||
'#title': 'Entity checkboxes | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#target_type': user
|
||||
'#selection_handler': 'default:user'
|
||||
'#selection_settings':
|
||||
include_anonymous: true
|
||||
'#options':
|
||||
1: Administrator
|
||||
0: 'Anonymous | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
webform_entity_radios:
|
||||
'#type': webform_entity_radios
|
||||
'#title': 'Entity radios | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#target_type': user
|
||||
'#selection_handler': 'default:user'
|
||||
'#selection_settings':
|
||||
include_anonymous: true
|
||||
'#options': null
|
||||
webform_entity_select:
|
||||
'#type': webform_entity_select
|
||||
'#title': 'Entity select | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#target_type': user
|
||||
'#selection_handler': 'default:user'
|
||||
'#selection_settings':
|
||||
include_anonymous: true
|
||||
webform_entity_select_multiple:
|
||||
'#type': webform_entity_select
|
||||
'#title': 'Entity select multiple | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#target_type': user
|
||||
'#selection_handler': 'default:user'
|
||||
'#selection_settings':
|
||||
include_anonymous: true
|
||||
'#multiple': true
|
||||
'#select2': true
|
||||
webform_term_select:
|
||||
'#type': webform_term_select
|
||||
'#title': 'Term select | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#vocabulary': tags
|
||||
webform_term_select_multiple:
|
||||
'#type': webform_term_select
|
||||
'#title': 'Term select multiple | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#vocabulary': tags
|
||||
'#multiple': true
|
||||
'#select2': true
|
||||
other_elements:
|
||||
'#type': details
|
||||
'#title': 'Other elements | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#open': true
|
||||
webform_element:
|
||||
'#type': webform_element
|
||||
'#title': 'Generic element | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
language_select:
|
||||
'#type': language_select
|
||||
'#title': 'Language select | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
'#languages': 3
|
||||
machine_name:
|
||||
'#type': machine_name
|
||||
'#title': 'Machine name | <script>alert(''This markup is not escaped properly!!!'') </script>'
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 0
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: page
|
||||
confirmation_title: ''
|
||||
confirmation_message: ''
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: false
|
||||
results_disabled_ignore: false
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers: { }
|
|
@ -0,0 +1,595 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_element_html_markup
|
||||
title: 'Test: Element: HTML Markup'
|
||||
description: 'Test element HTML markup support by underlining all titles, descriptions, prefixes, and suffixes.'
|
||||
elements: |
|
||||
basic_elements:
|
||||
'#type': details
|
||||
'#title': '<u>Basic elements</u>'
|
||||
'#open': true
|
||||
checkbox:
|
||||
'#type': checkbox
|
||||
'#title': '<u>Checkbox</u>'
|
||||
hidden:
|
||||
'#type': hidden
|
||||
'#title': '<u>Hidden</u>'
|
||||
password:
|
||||
'#type': password
|
||||
'#title': '<u>Password</u>'
|
||||
textarea:
|
||||
'#type': textarea
|
||||
'#title': '<u>Textarea</u>'
|
||||
textfield:
|
||||
'#type': textfield
|
||||
'#title': '<u>Text field</u>'
|
||||
textfield_multiple:
|
||||
'#type': textfield
|
||||
'#title': '<u>Text field multiple</u>'
|
||||
'#multiple': true
|
||||
advanced_elements:
|
||||
'#type': details
|
||||
'#title': '<u>Advanced elements</u>'
|
||||
'#open': true
|
||||
webform_autocomplete:
|
||||
'#type': webform_autocomplete
|
||||
'#title': '<u>Autocomplete</u>'
|
||||
'#autocomplete_items': country_names
|
||||
webform_autocomplete_multiple:
|
||||
'#type': webform_autocomplete
|
||||
'#title': '<u>Autocomplete multiple</u>'
|
||||
'#autocomplete_items': country_names
|
||||
'#multiple': true
|
||||
captcha:
|
||||
'#type': captcha
|
||||
'#title': '<u>CAPTCHA</u>'
|
||||
webform_codemirror:
|
||||
'#type': webform_codemirror
|
||||
'#title': '<u>CodeMirror</u>'
|
||||
'#mode': yaml
|
||||
color:
|
||||
'#type': color
|
||||
'#title': '<u>Color</u>'
|
||||
webform_creditcard_number:
|
||||
'#type': webform_creditcard_number
|
||||
'#title': '<u>Credit card number</u>'
|
||||
email:
|
||||
'#type': email
|
||||
'#title': '<u>Email</u>'
|
||||
email_multiple:
|
||||
'#type': email
|
||||
'#title': '<u>Email multiple</u>'
|
||||
'#multiple': true
|
||||
webform_email_confirm:
|
||||
'#type': webform_email_confirm
|
||||
'#title': '<u>Email confirm</u>'
|
||||
webform_email_multiple:
|
||||
'#type': webform_email_multiple
|
||||
'#title': '<u>Email multiple</u>'
|
||||
number:
|
||||
'#type': number
|
||||
'#title': '<u>Number</u>'
|
||||
'#min': 0
|
||||
'#max': 10
|
||||
'#step': 1
|
||||
number_multiple:
|
||||
'#type': number
|
||||
'#title': '<u>Number multiple</u>'
|
||||
'#min': 0
|
||||
'#max': 10
|
||||
'#step': 1
|
||||
'#multiple': true
|
||||
password_confirm:
|
||||
'#type': password_confirm
|
||||
'#title': '<u>Password confirm</u>'
|
||||
'#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/1427838">Issue #1427838: password and password_confirm children do not pick up #states or #attributes</a>'
|
||||
range:
|
||||
'#type': range
|
||||
'#title': '<u>Range</u>'
|
||||
'#min': 0
|
||||
'#max': 100
|
||||
'#step': 1
|
||||
'#range__output': true
|
||||
'#range__output_prefix': $
|
||||
'#range__output_suffix': '.00'
|
||||
webform_rating:
|
||||
'#type': webform_rating
|
||||
'#title': '<u>Rating</u>'
|
||||
search:
|
||||
'#type': search
|
||||
'#title': '<u>Search</u>'
|
||||
webform_signature:
|
||||
'#type': webform_signature
|
||||
'#title': '<u>Signature</u>'
|
||||
tel:
|
||||
'#type': tel
|
||||
'#title': '<u>Telephone</u>'
|
||||
'#international': true
|
||||
tel_multiple:
|
||||
'#type': tel
|
||||
'#title': '<u>Telephone multiple</u>'
|
||||
'#international': true
|
||||
'#multiple': true
|
||||
text_format:
|
||||
'#type': text_format
|
||||
'#title': '<u>Text format</u>'
|
||||
'#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/997826">Issue #997826: #states doesn''t work correctly with type text_format</a><br/><a href="https://www.drupal.org/node/2625128">Issue #2625128: Text format selection stays visible when using editor and a hidden webform state</a><br/><a href="https://www.drupal.org/node/1954968">Issue #1954968: Required CKEditor fields always fail HTML5 validation</a>'
|
||||
webform_toggle:
|
||||
'#type': webform_toggle
|
||||
'#title': '<u>Toggle</u>'
|
||||
url:
|
||||
'#type': url
|
||||
'#title': '<u>URL</u>'
|
||||
url_multiple:
|
||||
'#type': url
|
||||
'#title': '<u>URL multiple</u>'
|
||||
'#multiple': true
|
||||
value:
|
||||
'#type': value
|
||||
'#title': '<u>Value</u>'
|
||||
markup_elements:
|
||||
'#type': details
|
||||
'#title': '<u>Markup elements</u>'
|
||||
'#open': true
|
||||
processed_text:
|
||||
'#type': processed_text
|
||||
'#title': '<u>Advanced HTML/Text</u>'
|
||||
processed_text_content:
|
||||
'#markup': 'This is a Advanced HTML/Text container.'
|
||||
webform_markup:
|
||||
'#type': webform_markup
|
||||
'#title': '<u>Basic HTML</u>'
|
||||
'#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/2700667">Issue #2700667: Notice: Undefined index: #type in drupal_process_states()</a>'
|
||||
webform_markup_content:
|
||||
'#markup': 'This is a Basic HTML container.'
|
||||
webform_message:
|
||||
'#type': webform_message
|
||||
'#title': '<u>Message</u>'
|
||||
'#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/77245">Issue #77245: A place for JavaScript status messages</a>'
|
||||
'#message_type': warning
|
||||
'#message_message': 'This is a <strong>warning</strong> message.'
|
||||
webform_message_content:
|
||||
'#markup': 'This is a Message container.'
|
||||
file_upload_elements:
|
||||
'#type': details
|
||||
'#title': '<u>File upload elements</u>'
|
||||
'#open': true
|
||||
webform_audio_file:
|
||||
'#type': webform_audio_file
|
||||
'#title': '<u>Audio file</u>'
|
||||
webform_audio_file_multiple:
|
||||
'#type': webform_audio_file
|
||||
'#title': '<u>Audio file multiple</u>'
|
||||
'#multiple': true
|
||||
webform_document_file:
|
||||
'#type': webform_document_file
|
||||
'#title': '<u>Document file</u>'
|
||||
webform_document_file_multiple:
|
||||
'#type': webform_document_file
|
||||
'#title': '<u>Document file multiple</u>'
|
||||
'#multiple': true
|
||||
managed_file:
|
||||
'#type': managed_file
|
||||
'#title': '<u>File</u>'
|
||||
'#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/2705471">Issue #2705471: Webform states managed file fields</a><br/><a href="https://www.drupal.org/node/2113931">Issue #2113931: File Field design update</a>'
|
||||
managed_file_multiple:
|
||||
'#type': managed_file
|
||||
'#title': '<u>File multiple</u>'
|
||||
'#multiple': true
|
||||
webform_image_file:
|
||||
'#type': webform_image_file
|
||||
'#title': '<u>Image file</u>'
|
||||
webform_image_file_multiple:
|
||||
'#type': webform_image_file
|
||||
'#title': '<u>Image file multiple</u>'
|
||||
'#multiple': true
|
||||
webform_video_file:
|
||||
'#type': webform_video_file
|
||||
'#title': '<u>Video file</u>'
|
||||
webform_video_file_multiple:
|
||||
'#type': webform_video_file
|
||||
'#title': '<u>Video file multiple</u>'
|
||||
'#multiple': true
|
||||
options_elements:
|
||||
'#type': details
|
||||
'#title': '<u>Options elements</u>'
|
||||
'#open': true
|
||||
webform_buttons:
|
||||
'#type': webform_buttons
|
||||
'#title': '<u>Buttons</u>'
|
||||
'#options':
|
||||
one: One
|
||||
two: Two
|
||||
three: Three
|
||||
four: Four
|
||||
five: Five
|
||||
webform_buttons_other:
|
||||
'#type': webform_buttons_other
|
||||
'#title': '<u>Buttons other</u>'
|
||||
'#options':
|
||||
one: One
|
||||
two: Two
|
||||
three: Three
|
||||
four: Four
|
||||
five: Five
|
||||
checkboxes:
|
||||
'#type': checkboxes
|
||||
'#title': '<u>Checkboxes</u>'
|
||||
'#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/994360">Issue #994360: #states cannot disable/enable radios and checkboxes</a><br/><a href="https://www.drupal.org/node/2836364">Issue #2836364: Wrapper attributes are not supported by composite elements, this includes radios, checkboxes, and buttons.</a>'
|
||||
'#options':
|
||||
one: One
|
||||
two: Two
|
||||
three: Three
|
||||
four: Four
|
||||
five: Five
|
||||
webform_checkboxes_other:
|
||||
'#type': webform_checkboxes_other
|
||||
'#title': '<u>Checkboxes other</u>'
|
||||
'#options':
|
||||
one: One
|
||||
two: Two
|
||||
three: Three
|
||||
four: Four
|
||||
five: Five
|
||||
webform_likert:
|
||||
'#type': webform_likert
|
||||
'#title': '<u>Likert</u>'
|
||||
'#questions':
|
||||
q1: 'Please answer question 1?'
|
||||
q2: 'How about now answering question 2?'
|
||||
q3: 'Finally, here is question 3?'
|
||||
'#answers':
|
||||
1: 1
|
||||
2: 2
|
||||
3: 3
|
||||
4: 4
|
||||
5: 5
|
||||
radios:
|
||||
'#type': radios
|
||||
'#title': '<u>Radios</u>'
|
||||
'#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/2731991">Issue #2731991: Setting required on radios marks all options required</a><br/><a href="https://www.drupal.org/node/994360">Issue #994360: #states cannot disable/enable radios and checkboxes</a><br/><a href="https://www.drupal.org/node/2836364">Issue #2836364: Wrapper attributes are not supported by composite elements, this includes radios, checkboxes, and buttons.</a>'
|
||||
'#options':
|
||||
one: One
|
||||
two: Two
|
||||
three: Three
|
||||
four: Four
|
||||
five: Five
|
||||
webform_radios_other:
|
||||
'#type': webform_radios_other
|
||||
'#title': '<u>Radios other</u>'
|
||||
'#options':
|
||||
one: One
|
||||
two: Two
|
||||
three: Three
|
||||
four: Four
|
||||
five: Five
|
||||
select:
|
||||
'#type': select
|
||||
'#title': '<u>Select</u>'
|
||||
'#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/1426646">Issue #1426646: "-Select-" option is lost when webform elements uses ''#states''</a><br/><a href="https://www.drupal.org/node/1149078">Issue #1149078: States API doesn''t work with multiple select fields</a><br/><a href="https://www.drupal.org/node/2791741">Issue #2791741: FAPI states: fields aren''t hidden initially when depending on multi-value selection</a>'
|
||||
'#options':
|
||||
one: One
|
||||
two: Two
|
||||
three: Three
|
||||
four: Four
|
||||
five: Five
|
||||
select_multiple:
|
||||
'#type': select
|
||||
'#title': '<u>Select multiple</u>'
|
||||
'#options':
|
||||
one: One
|
||||
two: Two
|
||||
three: Three
|
||||
four: Four
|
||||
five: Five
|
||||
'#multiple': true
|
||||
'#select2': true
|
||||
webform_select_other:
|
||||
'#type': webform_select_other
|
||||
'#title': '<u>Select other</u>'
|
||||
'#options':
|
||||
one: One
|
||||
two: Two
|
||||
three: Three
|
||||
four: Four
|
||||
five: Five
|
||||
webform_select_other_multiple:
|
||||
'#type': webform_select_other
|
||||
'#title': '<u>Select other multiple</u>'
|
||||
'#options':
|
||||
one: One
|
||||
two: Two
|
||||
three: Three
|
||||
four: Four
|
||||
five: Five
|
||||
'#multiple': true
|
||||
'#select2': true
|
||||
tableselect:
|
||||
'#type': tableselect
|
||||
'#title': '<u>Table select</u>'
|
||||
'#options':
|
||||
one: One
|
||||
two: Two
|
||||
three: Three
|
||||
four: Four
|
||||
five: Five
|
||||
webform_tableselect_sort:
|
||||
'#type': webform_tableselect_sort
|
||||
'#title': '<u>Tableselect sort</u>'
|
||||
'#options':
|
||||
one: One
|
||||
two: Two
|
||||
three: Three
|
||||
four: Four
|
||||
five: Five
|
||||
webform_table_sort:
|
||||
'#type': webform_table_sort
|
||||
'#title': '<u>Table sort</u>'
|
||||
'#options':
|
||||
one: One
|
||||
two: Two
|
||||
three: Three
|
||||
four: Four
|
||||
five: Five
|
||||
webform_toggles:
|
||||
'#type': webform_toggles
|
||||
'#title': '<u>Toggles</u>'
|
||||
'#options':
|
||||
one: One
|
||||
two: Two
|
||||
three: Three
|
||||
four: Four
|
||||
five: Five
|
||||
containers:
|
||||
'#type': details
|
||||
'#title': '<u>Containers</u>'
|
||||
'#open': true
|
||||
container:
|
||||
'#type': container
|
||||
'#title': '<u>Container</u>'
|
||||
container_content:
|
||||
'#markup': 'This is a Container container.'
|
||||
details:
|
||||
'#type': details
|
||||
'#title': '<u>Details</u>'
|
||||
'#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/2348851">Issue #2348851: Regression: Allow HTML tags inside detail summary</a>'
|
||||
details_content:
|
||||
'#markup': 'This is a Details container.'
|
||||
fieldset:
|
||||
'#type': fieldset
|
||||
'#title': '<u>Fieldset</u>'
|
||||
fieldset_content:
|
||||
'#markup': 'This is a Fieldset container.'
|
||||
item:
|
||||
'#type': item
|
||||
'#title': '<u>Item</u>'
|
||||
'#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/783438">Issue #783438: #states doesn''t work for #type item</a>'
|
||||
'#markup': '{markup}'
|
||||
'#field_prefix': '<u>{field_prefix}</u>'
|
||||
'#field_suffix': '<u>{field_suffix}</u>'
|
||||
item_content:
|
||||
'#markup': 'This is a Item container.'
|
||||
label:
|
||||
'#type': label
|
||||
'#title': '<u>Label</u>'
|
||||
label_content:
|
||||
'#markup': 'This is a Label container.'
|
||||
date_time_elements:
|
||||
'#type': details
|
||||
'#title': '<u>Date/time elements</u>'
|
||||
'#open': true
|
||||
date:
|
||||
'#type': date
|
||||
'#title': '<u>Date</u>'
|
||||
date_multiple:
|
||||
'#type': date
|
||||
'#title': '<u>Date multiple</u>'
|
||||
'#multiple': true
|
||||
datetime:
|
||||
'#type': datetime
|
||||
'#title': '<u>Date/time</u>'
|
||||
'#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/2419131">Issue #2419131: #states attribute does not work on #type datetime</a>'
|
||||
datetime_multiple:
|
||||
'#type': datetime
|
||||
'#title': '<u>Date/time multiple</u>'
|
||||
'#multiple': true
|
||||
datelist:
|
||||
'#type': datelist
|
||||
'#title': '<u>Date list</u>'
|
||||
datelist_multiple:
|
||||
'#type': datelist
|
||||
'#title': '<u>Date list multiple</u>'
|
||||
'#multiple': true
|
||||
webform_time:
|
||||
'#type': webform_time
|
||||
'#title': '<u>Time</u>'
|
||||
'#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/1838234">Issue #1838234: Add jQuery Timepicker for the Time element of the datetime field</a>'
|
||||
webform_time_multiple:
|
||||
'#type': webform_time
|
||||
'#title': '<u>Time multiple</u>'
|
||||
'#multiple': true
|
||||
entity_reference_elements:
|
||||
'#type': details
|
||||
'#title': '<u>Entity reference elements</u>'
|
||||
'#open': true
|
||||
entity_autocomplete:
|
||||
'#type': entity_autocomplete
|
||||
'#title': '<u>Entity autocomplete</u>'
|
||||
'#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/2826451">Issue #2826451: TermSelection returning HTML characters in select list</a>'
|
||||
'#target_type': user
|
||||
'#selection_handler': 'default:user'
|
||||
'#selection_settings':
|
||||
include_anonymous: true
|
||||
entity_autocomplete_tags:
|
||||
'#type': entity_autocomplete
|
||||
'#title': '<u>Entity autocomplete tags</u>'
|
||||
'#target_type': user
|
||||
'#selection_handler': 'default:user'
|
||||
'#selection_settings':
|
||||
include_anonymous: true
|
||||
'#tags': true
|
||||
entity_autocomplete_multiple:
|
||||
'#type': entity_autocomplete
|
||||
'#title': '<u>Entity autocomplete multiple</u>'
|
||||
'#target_type': user
|
||||
'#selection_handler': 'default:user'
|
||||
'#selection_settings':
|
||||
include_anonymous: true
|
||||
'#multiple': true
|
||||
webform_entity_checkboxes:
|
||||
'#type': webform_entity_checkboxes
|
||||
'#title': '<u>Entity checkboxes</u>'
|
||||
'#target_type': user
|
||||
'#selection_handler': 'default:user'
|
||||
'#selection_settings':
|
||||
include_anonymous: true
|
||||
'#options':
|
||||
1: Administrator
|
||||
0: '<u>Anonymous</u>'
|
||||
webform_entity_radios:
|
||||
'#type': webform_entity_radios
|
||||
'#title': '<u>Entity radios</u>'
|
||||
'#target_type': user
|
||||
'#selection_handler': 'default:user'
|
||||
'#selection_settings':
|
||||
include_anonymous: true
|
||||
'#options': null
|
||||
webform_entity_select:
|
||||
'#type': webform_entity_select
|
||||
'#title': '<u>Entity select</u>'
|
||||
'#target_type': user
|
||||
'#selection_handler': 'default:user'
|
||||
'#selection_settings':
|
||||
include_anonymous: true
|
||||
webform_entity_select_multiple:
|
||||
'#type': webform_entity_select
|
||||
'#title': '<u>Entity select multiple</u>'
|
||||
'#target_type': user
|
||||
'#selection_handler': 'default:user'
|
||||
'#selection_settings':
|
||||
include_anonymous: true
|
||||
'#multiple': true
|
||||
'#select2': true
|
||||
webform_term_select:
|
||||
'#type': webform_term_select
|
||||
'#title': '<u>Term select</u>'
|
||||
'#vocabulary': tags
|
||||
webform_term_select_multiple:
|
||||
'#type': webform_term_select
|
||||
'#title': '<u>Term select multiple</u>'
|
||||
'#vocabulary': tags
|
||||
'#multiple': true
|
||||
'#select2': true
|
||||
other_elements:
|
||||
'#type': details
|
||||
'#title': '<u>Other elements</u>'
|
||||
'#open': true
|
||||
webform_element:
|
||||
'#type': webform_element
|
||||
'#title': '<u>Generic element</u>'
|
||||
language_select:
|
||||
'#type': language_select
|
||||
'#title': '<u>Language select</u>'
|
||||
'#languages': 3
|
||||
machine_name:
|
||||
'#type': machine_name
|
||||
'#title': '<u>Machine name</u>'
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 0
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: page
|
||||
confirmation_title: ''
|
||||
confirmation_message: ''
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: false
|
||||
results_disabled_ignore: false
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers: { }
|
|
@ -0,0 +1,119 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_element_ignored_properties
|
||||
title: 'Test: Element: Ignore properties'
|
||||
description: 'Test ignored element properties and callbacks.'
|
||||
elements: |
|
||||
test:
|
||||
'#type': textfield
|
||||
'#title': test
|
||||
'#tree': '#tree'
|
||||
'#array_parents': '#array_parents'
|
||||
'#weight': '#weight'
|
||||
'#after_build': '#after_build'
|
||||
'#element_validate': '#element_validate'
|
||||
'#post_render': '#post_render'
|
||||
'#pre_render': '#pre_render'
|
||||
'#process': '#process'
|
||||
'#submit': '#submit'
|
||||
'#validate': '#validate'
|
||||
'#value_callback': '#value_callback'
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 0
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: page
|
||||
confirmation_title: ''
|
||||
confirmation_message: ''
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: true
|
||||
results_disabled_ignore: true
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers: { }
|
|
@ -0,0 +1,108 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_element_invalid
|
||||
title: 'Test: Element: Invalid'
|
||||
description: 'Test invalid elements YAML.'
|
||||
elements: |
|
||||
not
|
||||
valid
|
||||
yaml
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 0
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: page
|
||||
confirmation_title: ''
|
||||
confirmation_message: ''
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: true
|
||||
results_disabled_ignore: true
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers: { }
|
|
@ -0,0 +1,142 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_element_likert
|
||||
title: 'Test: Element: Likert'
|
||||
description: 'Test the likert element.'
|
||||
elements: |
|
||||
likert_elements:
|
||||
'#type': details
|
||||
'#title': 'Likert Elements'
|
||||
'#open': true
|
||||
likert_default:
|
||||
'#type': webform_likert
|
||||
'#title': 'likert (default)'
|
||||
'#questions':
|
||||
q1: 'Question 1'
|
||||
q2: 'Question 2'
|
||||
q3: 'Question 3'
|
||||
'#answers':
|
||||
1: 'Option 1'
|
||||
2: 'Option 2'
|
||||
3: 'Option 3'
|
||||
likert_advanced:
|
||||
'#type': webform_likert
|
||||
'#title': 'likert (advanced)'
|
||||
'#required': true
|
||||
'#na_answer': true
|
||||
'#na_answer_value': N/A
|
||||
'#na_answer_text': 'Not applicable'
|
||||
'#questions':
|
||||
q1: 'Question 1'
|
||||
q2: 'Question 2'
|
||||
q3: 'Question 3'
|
||||
'#answers':
|
||||
1: 'Option 1'
|
||||
2: 'Option 2'
|
||||
3: 'Option 3'
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 0
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: message
|
||||
confirmation_title: ''
|
||||
confirmation_message: ''
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: false
|
||||
results_disabled_ignore: false
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers:
|
||||
debug:
|
||||
id: debug
|
||||
label: Debug
|
||||
handler_id: debug
|
||||
status: true
|
||||
weight: 1
|
||||
settings: { }
|
|
@ -0,0 +1,176 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_element_location
|
||||
title: 'Test: Element: Location'
|
||||
description: 'Test (geo)location elements.'
|
||||
elements: |
|
||||
location_default_element:
|
||||
'#type': details
|
||||
'#title': 'Location default element'
|
||||
'#open': true
|
||||
location_default:
|
||||
'#type': webform_location
|
||||
'#title': 'location default'
|
||||
location_attributes_element:
|
||||
'#type': details
|
||||
'#title': 'Location with visible attributes element'
|
||||
'#open': true
|
||||
location_attributes:
|
||||
'#type': webform_location
|
||||
'#title': 'Location with visible attributes'
|
||||
'#lat__access': true
|
||||
'#lng__access': true
|
||||
'#location__access': true
|
||||
'#formatted_address__access': true
|
||||
'#street_address__access': true
|
||||
'#street_number__access': true
|
||||
'#postal_code__access': true
|
||||
'#locality__access': true
|
||||
'#sublocality__access': true
|
||||
'#administrative_area_level_1__access': true
|
||||
'#country__access': true
|
||||
'#country_short__access': true
|
||||
location_default_value_required_element:
|
||||
'#type': details
|
||||
'#title': 'Location with default value and required element'
|
||||
'#open': true
|
||||
location_default_value_required:
|
||||
'#type': webform_location
|
||||
'#title': 'Location with default value and required'
|
||||
'#default_value':
|
||||
value: '1600 Pennsylvania Ave NW, Washington, DC 20500'
|
||||
'#required': true
|
||||
'#lat__access': true
|
||||
'#lng__access': true
|
||||
'#location__access': true
|
||||
'#formatted_address__access': true
|
||||
'#street_address__access': true
|
||||
'#street_number__access': true
|
||||
'#postal_code__access': true
|
||||
'#locality__access': true
|
||||
'#sublocality__access': true
|
||||
'#administrative_area_level_1__access': true
|
||||
'#country__access': true
|
||||
'#country_short__access': true
|
||||
location_geolocation_element:
|
||||
'#type': details
|
||||
'#title': 'Location with geolocation element'
|
||||
'#open': true
|
||||
location_geolocation:
|
||||
'#type': webform_location
|
||||
'#title': 'Location with geolocation'
|
||||
'#geolocation': true
|
||||
'#location__access': true
|
||||
'#formatted_address__access': true
|
||||
'#street_address__access': true
|
||||
'#street_number__access': true
|
||||
'#postal_code__access': true
|
||||
'#locality__access': true
|
||||
'#sublocality__access': true
|
||||
'#administrative_area_level_1__access': true
|
||||
'#country__access': true
|
||||
'#country_short__access': true
|
||||
location_geolocation_hidden:
|
||||
'#type': webform_location
|
||||
'#title': 'Location with geolocation and hidden'
|
||||
'#geolocation': true
|
||||
'#hidden': true
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 0
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: page
|
||||
confirmation_title: ''
|
||||
confirmation_message: ''
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: false
|
||||
results_disabled_ignore: false
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers: { }
|
|
@ -0,0 +1,114 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_element_managed_file
|
||||
title: 'Test: Element: Managed file'
|
||||
description: 'Test file uploads using managed file element.'
|
||||
elements: |
|
||||
managed_file_single:
|
||||
'#type': managed_file
|
||||
'#title': 'managed_file (single)'
|
||||
'#file_extensions': txt
|
||||
managed_file_multiple:
|
||||
'#type': managed_file
|
||||
'#title': 'managed_file (multiple)'
|
||||
'#file_extensions': txt
|
||||
'#multiple': true
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 1
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: page
|
||||
confirmation_title: ''
|
||||
confirmation_message: ''
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: false
|
||||
results_disabled_ignore: false
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers: { }
|
|
@ -0,0 +1,119 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_element_markup
|
||||
title: 'Test: Element: Markup'
|
||||
description: 'Test the markup element.'
|
||||
elements: |
|
||||
markup:
|
||||
'#markup': '<p>This is normal markup</p>'
|
||||
markup_form:
|
||||
'#type': webform_markup
|
||||
'#markup': '<p>This is only displayed on the form view.</p>'
|
||||
'#display_on': form
|
||||
markup_view:
|
||||
'#type': webform_markup
|
||||
'#markup': '<p>This is only displayed on the submission view.</p>'
|
||||
'#display_on': view
|
||||
markup_both:
|
||||
'#type': webform_markup
|
||||
'#markup': '<p>This is displayed on the both the form and submission view.</p>'
|
||||
'#display_on': both
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 1
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: message
|
||||
confirmation_title: ''
|
||||
confirmation_message: ''
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: false
|
||||
results_disabled_ignore: false
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers: { }
|
|
@ -0,0 +1,156 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_element_media_file
|
||||
title: 'Test: Element: Media type file upload'
|
||||
description: 'Test file uploads using media accepts and capture file element.'
|
||||
elements: |
|
||||
managed_file_elements:
|
||||
'#type': details
|
||||
'#title': 'Managed File Elements'
|
||||
'#open': true
|
||||
managed_file:
|
||||
'#type': managed_file
|
||||
'#title': managed_file
|
||||
audio_file_elements:
|
||||
'#type': details
|
||||
'#title': 'Audio File Elements'
|
||||
'#open': true
|
||||
audio_file:
|
||||
'#type': webform_audio_file
|
||||
'#title': audio_file
|
||||
audio_file_mp3:
|
||||
'#type': webform_audio_file
|
||||
'#title': 'audio_file (mp3)'
|
||||
'#file_extensions': mp3
|
||||
document_file_elements:
|
||||
'#type': details
|
||||
'#title': 'Document File Elements'
|
||||
'#open': true
|
||||
document_file:
|
||||
'#type': webform_document_file
|
||||
'#title': document_file
|
||||
document_file_pdf:
|
||||
'#type': webform_document_file
|
||||
'#title': 'document_file (pdf)'
|
||||
'#file_extensions': pdf
|
||||
image_file_elements:
|
||||
'#type': details
|
||||
'#title': 'Image File Elements'
|
||||
'#open': true
|
||||
image_file:
|
||||
'#type': webform_image_file
|
||||
'#title': image_file
|
||||
image_file_jpg:
|
||||
'#type': webform_image_file
|
||||
'#title': 'image_file (jpg)'
|
||||
'#file_extensions': jpg
|
||||
video_file_elements:
|
||||
'#type': details
|
||||
'#title': 'Video File Elements'
|
||||
'#open': true
|
||||
video_file:
|
||||
'#type': webform_video_file
|
||||
'#title': video_file
|
||||
video_file_mp4:
|
||||
'#type': webform_video_file
|
||||
'#title': 'video_file (mp4)'
|
||||
'#file_extensions': mp4
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 1
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: page
|
||||
confirmation_title: ''
|
||||
confirmation_message: ''
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: false
|
||||
results_disabled_ignore: false
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers: { }
|
|
@ -0,0 +1,174 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_element_message
|
||||
title: 'Test: Element: Message'
|
||||
description: 'Test the message element.'
|
||||
elements: |
|
||||
message_types:
|
||||
'#type': details
|
||||
'#title': 'Message type'
|
||||
'#open': true
|
||||
message_info:
|
||||
'#type': webform_message
|
||||
'#message_type': info
|
||||
'#message_message': 'This is an <strong>info</strong> message.'
|
||||
message_status:
|
||||
'#type': webform_message
|
||||
'#message_message': 'This is a <strong>status</strong> message.'
|
||||
message_warning:
|
||||
'#type': webform_message
|
||||
'#message_type': warning
|
||||
'#message_message': 'This is a <strong>warning</strong> message.'
|
||||
message_error:
|
||||
'#type': webform_message
|
||||
'#message_type': error
|
||||
'#message_message': 'This is a <strong>error</strong> message.'
|
||||
message_close:
|
||||
'#type': details
|
||||
'#title': 'Message close'
|
||||
'#open': true
|
||||
message_close_hide:
|
||||
'#type': webform_message
|
||||
'#message_type': info
|
||||
'#message_message': 'This is message that can be <b>closed using hide effect</b>.'
|
||||
'#message_close': true
|
||||
'#message_close_effect': hide
|
||||
message_close_fade:
|
||||
'#type': webform_message
|
||||
'#message_type': info
|
||||
'#message_message': 'This is message that can be <b>closed using fade effect</b>.'
|
||||
'#message_close': true
|
||||
'#message_close_effect': fade
|
||||
message_close_slide:
|
||||
'#type': webform_message
|
||||
'#message_type': info
|
||||
'#message_message': 'This is message that can be <b>closed using slide effect</b>.'
|
||||
'#message_close': true
|
||||
'#message_close_effect': slide
|
||||
message_storage:
|
||||
'#type': details
|
||||
'#title': 'Message close storage'
|
||||
'#open': true
|
||||
message_close_storage_session:
|
||||
'#type': webform_message
|
||||
'#message_type': info
|
||||
'#message_message': 'This is message that can be <b>closed and saved in <a href="https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage">session storage</a></b>.'
|
||||
'#message_close': true
|
||||
'#message_storage': session
|
||||
message_close_storage_local:
|
||||
'#type': webform_message
|
||||
'#message_type': info
|
||||
'#message_message': 'This is message that can be <b>closed and saved in <a href="https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage">local storage</a>.</b>'
|
||||
'#message_close': true
|
||||
'#message_storage': local
|
||||
message_close_storage_user:
|
||||
'#type': webform_message
|
||||
'#message_type': info
|
||||
'#message_message': 'This is message that can be <b>closed and saved in <a href="https://api.drupal.org/api/drupal/core!modules!user!src!UserData.php/class/UserData">User Data</a></b>. (Authenticated users only)'
|
||||
'#message_close': true
|
||||
'#message_storage': user
|
||||
message_close_storage_state:
|
||||
'#type': webform_message
|
||||
'#message_type': info
|
||||
'#message_message': 'This is message that can be <b>closed and saved in <a href="https://www.drupal.org/docs/8/api/state-api">State API</a></b>. (Authenticated users only)'
|
||||
'#message_close': true
|
||||
'#message_storage': state
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 0
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: message
|
||||
confirmation_title: ''
|
||||
confirmation_message: ''
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: false
|
||||
results_disabled_ignore: false
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers: { }
|
|
@ -0,0 +1,229 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_element_multiple
|
||||
title: 'Test: Element: Multiple'
|
||||
description: 'Test multiple element.'
|
||||
elements: |
|
||||
webform_multiple_default:
|
||||
'#type': webform_multiple
|
||||
'#title': webform_multiple_default
|
||||
'#default_value':
|
||||
- One
|
||||
- Two
|
||||
- Three
|
||||
webform_multiple_email_five:
|
||||
'#type': webform_multiple
|
||||
'#title': webform_multiple_email_five
|
||||
'#cardinality': 5
|
||||
'#element':
|
||||
'#type': email
|
||||
'#title': 'Please enter an email address'
|
||||
'#title_display': invisible
|
||||
'#placeholder': 'Enter email address'
|
||||
'#default_value':
|
||||
- example@example.com
|
||||
- test@test.com
|
||||
webform_multiple_datelist:
|
||||
'#type': webform_multiple
|
||||
'#title': webform_multiple_datelist
|
||||
'#element':
|
||||
'#type': datelist
|
||||
webform_multiple_name_composite:
|
||||
'#type': webform_multiple
|
||||
'#title': webform_multiple_name_composite
|
||||
'#header': true
|
||||
'#element':
|
||||
'#type': webform_name
|
||||
'#default_value':
|
||||
- first: John
|
||||
last: Smith
|
||||
- first: Jane
|
||||
last: Doe
|
||||
webform_multiple_elements_name_item:
|
||||
'#type': webform_multiple
|
||||
'#title': webform_multiple_elements_name_item
|
||||
'#element':
|
||||
first_name:
|
||||
'#type': textfield
|
||||
'#title': first_name
|
||||
last_name:
|
||||
'#type': textfield
|
||||
'#title': last_name
|
||||
'#default_value':
|
||||
- first_name: John
|
||||
last_name: Smith
|
||||
- first_name: Jane
|
||||
last_name: Doe
|
||||
webform_multiple_elements_name_table:
|
||||
'#type': webform_multiple
|
||||
'#title': webform_multiple_elements_name_table
|
||||
'#header': true
|
||||
'#element':
|
||||
first_name:
|
||||
'#type': textfield
|
||||
'#title': first_name
|
||||
'#title_display': invisible
|
||||
'#placeholder': 'Enter first name'
|
||||
last_name:
|
||||
'#type': textfield
|
||||
'#title': last_name
|
||||
'#title_display': invisible
|
||||
'#placeholder': 'Enter last name'
|
||||
'#default_value':
|
||||
- first_name: John
|
||||
last_name: Smith
|
||||
- first_name: Jane
|
||||
last_name: Doe
|
||||
webform_multiple_options:
|
||||
'#type': webform_multiple
|
||||
'#title': webform_multiple_options
|
||||
'#header': true
|
||||
'#label': option
|
||||
'#labels': options
|
||||
'#element':
|
||||
value:
|
||||
'#type': textfield
|
||||
'#title': 'Option value'
|
||||
'#title_display': invisible
|
||||
'#placeholder': 'Enter value'
|
||||
text:
|
||||
'#type': textfield
|
||||
'#title': 'Option text'
|
||||
'#title_display': invisible
|
||||
'#placeholder': 'Enter text'
|
||||
'#default_value':
|
||||
- value: one
|
||||
text: One
|
||||
- value: two
|
||||
text: Two
|
||||
webform_multiple_elements_hidden_table:
|
||||
'#type': webform_multiple
|
||||
'#title': webform_multiple_elements_hidden_table
|
||||
'#header': true
|
||||
'#element':
|
||||
id:
|
||||
'#type': value
|
||||
first_name:
|
||||
'#type': textfield
|
||||
'#title': first_name
|
||||
'#title_display': invisible
|
||||
'#placeholder': 'Enter first name'
|
||||
last_name:
|
||||
'#access': false
|
||||
'#type': textfield
|
||||
'#title': last_name
|
||||
'#title_display': invisible
|
||||
'#placeholder': 'Enter last name'
|
||||
'#default_value':
|
||||
- id: john
|
||||
first_name: John
|
||||
last_name: Smith
|
||||
- id: jane
|
||||
first_name: Jane
|
||||
last_name: Doe
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 0
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: message
|
||||
confirmation_title: ''
|
||||
confirmation_message: ''
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: true
|
||||
results_disabled_ignore: false
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers:
|
||||
debug:
|
||||
id: debug
|
||||
label: Debug
|
||||
handler_id: debug
|
||||
status: true
|
||||
weight: 0
|
||||
settings: { }
|
|
@ -0,0 +1,136 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_element_multiple_date
|
||||
title: 'Test: Element: Multiple: Date'
|
||||
description: 'Test multiple text Date elements.'
|
||||
elements: |
|
||||
time:
|
||||
'#type': details
|
||||
'#title': time
|
||||
'#open': true
|
||||
time_basic:
|
||||
'#type': webform_time
|
||||
'#title': time_basic
|
||||
'#multiple': true
|
||||
date:
|
||||
'#type': details
|
||||
'#title': date
|
||||
'#open': true
|
||||
date_basic:
|
||||
'#type': date
|
||||
'#title': 'date_basic'
|
||||
'#multiple': true
|
||||
datetime_basic:
|
||||
'#type': datetime
|
||||
'#title': 'datetime_basic'
|
||||
'#multiple': true
|
||||
datelist_basic:
|
||||
'#type': datelist
|
||||
'#title': 'datelist_basic'
|
||||
'#multiple': true
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 0
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: message
|
||||
confirmation_title: ''
|
||||
confirmation_message: ''
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: true
|
||||
results_disabled_ignore: false
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers:
|
||||
debug:
|
||||
id: debug
|
||||
label: Debug
|
||||
handler_id: debug
|
||||
status: true
|
||||
weight: 0
|
||||
settings: { }
|
|
@ -0,0 +1,132 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_element_multiple_property
|
||||
title: 'Test: Element: Multiple property'
|
||||
description: 'Test #multiple element property.'
|
||||
elements: |
|
||||
webform_element_multiple:
|
||||
'#type': webform_element_multiple
|
||||
'#title': 'Allowed number of values'
|
||||
webform_element_multiple_true:
|
||||
'#type': webform_element_multiple
|
||||
'#title': webform_element_multiple_true
|
||||
'#default_value': TRUE
|
||||
webform_element_multiple_false:
|
||||
'#type': webform_element_multiple
|
||||
'#title': webform_element_multiple_false
|
||||
'#default_value': FALSE
|
||||
webform_element_multiple_custom:
|
||||
'#type': webform_element_multiple
|
||||
'#title': webform_element_multiple_custom
|
||||
'#default_value': 5
|
||||
webform_element_multiple_disabled:
|
||||
'#type': webform_element_multiple
|
||||
'#title': webform_element_multiple_disabled
|
||||
'#disabled': disabled
|
||||
'#default_value': 5
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 0
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: message
|
||||
confirmation_title: ''
|
||||
confirmation_message: ''
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: true
|
||||
results_disabled_ignore: false
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers:
|
||||
debug:
|
||||
id: debug
|
||||
label: Debug
|
||||
handler_id: debug
|
||||
status: true
|
||||
weight: 0
|
||||
settings: { }
|
|
@ -0,0 +1,177 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_element_multiple_text
|
||||
title: 'Test: Element: Multiple: Text Based'
|
||||
description: 'Test multiple text based elements.'
|
||||
elements: |
|
||||
textfield:
|
||||
'#type': details
|
||||
'#title': textfield
|
||||
'#open': true
|
||||
textfield_basic:
|
||||
'#type': textfield
|
||||
'#title': textfield_basic
|
||||
'#multiple': true
|
||||
textfield_advanced:
|
||||
'#type': textfield
|
||||
'#title': textfield_advanced
|
||||
'#description': '{description}'
|
||||
'#field_prefix': '{prefix}'
|
||||
'#field_suffix': '{suffix}'
|
||||
'#required': true
|
||||
'#placeholder': '{placeholder}'
|
||||
'#size': 10
|
||||
'#counter_type': character
|
||||
'#counter_maximum': 10
|
||||
'#multiple': true
|
||||
email:
|
||||
'#type': details
|
||||
'#title': email
|
||||
'#open': true
|
||||
email_basic:
|
||||
'#type': email
|
||||
'#title': email_basic
|
||||
'#multiple': true
|
||||
email_advanced:
|
||||
'#type': email
|
||||
'#title': email_advanced
|
||||
'#multiple': true
|
||||
url:
|
||||
'#type': details
|
||||
'#title': url
|
||||
'#open': true
|
||||
url_basic:
|
||||
'#type': url
|
||||
'#title': url_basic
|
||||
'#multiple': true
|
||||
tel:
|
||||
'#type': details
|
||||
'#title': tel
|
||||
'#open': true
|
||||
tel_basic:
|
||||
'#type': tel
|
||||
'#title': tel_basic
|
||||
'#multiple': true
|
||||
autocomplete:
|
||||
'#type': details
|
||||
'#title': autocomplete
|
||||
'#open': true
|
||||
autocomplete_basic:
|
||||
'#type': webform_autocomplete
|
||||
'#title': autocomplete_basic
|
||||
'#autocomplete_items': country_names
|
||||
'#multiple': true
|
||||
number:
|
||||
'#type': details
|
||||
'#title': autocomplete
|
||||
'#open': true
|
||||
number_basic:
|
||||
'#type': number
|
||||
'#title': number_basic
|
||||
'#multiple': true
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 0
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: message
|
||||
confirmation_title: ''
|
||||
confirmation_message: ''
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: true
|
||||
results_disabled_ignore: false
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers:
|
||||
debug:
|
||||
id: debug
|
||||
label: Debug
|
||||
handler_id: debug
|
||||
status: true
|
||||
weight: 0
|
||||
settings: { }
|
|
@ -0,0 +1,154 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_element_options
|
||||
title: 'Test: Element: Options'
|
||||
description: 'Test options element.'
|
||||
elements: |
|
||||
webform_options_elements:
|
||||
'#type': details
|
||||
'#title': 'Webform options'
|
||||
'#open': true
|
||||
webform_options:
|
||||
'#type': webform_options
|
||||
'#title': webform_options
|
||||
webform_options_default_value:
|
||||
'#type': webform_options
|
||||
'#title': 'webform_options (default_value)'
|
||||
'#default_value':
|
||||
one: One
|
||||
two: Two
|
||||
three: Three
|
||||
webform_options_optgroup:
|
||||
'#type': webform_options
|
||||
'#title': 'webform_options (optgroup)'
|
||||
'#required': true
|
||||
'#default_value':
|
||||
'Group One':
|
||||
one: One
|
||||
'Group Two':
|
||||
two: Two
|
||||
'Group Three':
|
||||
three: Three
|
||||
webform_element_options_elements:
|
||||
'#type': details
|
||||
'#title': 'Webform element options'
|
||||
'#open': true
|
||||
webform_element_options_entity:
|
||||
'#type': webform_element_options
|
||||
'#title': 'webform_element_options (entity)'
|
||||
'#required': true
|
||||
'#default_value': yes_no
|
||||
webform_element_options_custom:
|
||||
'#type': webform_element_options
|
||||
'#title': 'webform_element_options (custom)'
|
||||
'#required': true
|
||||
'#default_value':
|
||||
one: One
|
||||
two: Two
|
||||
three: Three
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 0
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: message
|
||||
confirmation_title: ''
|
||||
confirmation_message: ''
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: true
|
||||
results_disabled_ignore: false
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers:
|
||||
debug:
|
||||
id: debug
|
||||
label: Debug
|
||||
handler_id: debug
|
||||
status: true
|
||||
weight: 0
|
||||
settings: { }
|
|
@ -0,0 +1,235 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_element_other
|
||||
title: 'Test: Element: Other'
|
||||
description: 'Test the webform other elements, includes select_other, checkboxes_other, radios_other, and buttons_other.'
|
||||
elements: |
|
||||
select_other:
|
||||
'#type': details
|
||||
'#title': 'Select other (select_other)'
|
||||
'#open': true
|
||||
select_other_basic:
|
||||
'#type': webform_select_other
|
||||
'#title': 'Select other basic'
|
||||
'#options':
|
||||
One: One
|
||||
'Option Group':
|
||||
Two: Two
|
||||
Three: Three
|
||||
'#default_value': Four
|
||||
select_other_advanced:
|
||||
'#type': webform_select_other
|
||||
'#title': 'Select other advanced'
|
||||
'#default_value': Four
|
||||
'#options':
|
||||
One: One
|
||||
'Option Group':
|
||||
Two: Two
|
||||
Three: Three
|
||||
'#empty_option': Select...
|
||||
'#other__option_label': 'Is there another option you wish to enter?'
|
||||
'#other__title': Other
|
||||
'#other__placeholder': 'What is this other option'
|
||||
'#other__description': 'Other select description'
|
||||
'#other__size': 20
|
||||
'#other__maxlength': 20
|
||||
'#required': true
|
||||
select_other_multiple:
|
||||
'#type': webform_select_other
|
||||
'#title': 'Select other multiple'
|
||||
'#multiple': true
|
||||
'#options':
|
||||
One: One
|
||||
'Option Group':
|
||||
Two: Two
|
||||
Three: Three
|
||||
'#default_value':
|
||||
- One
|
||||
- Two
|
||||
- Four
|
||||
checkboxes_other:
|
||||
'#type': details
|
||||
'#title': 'Checkboxes other (checkboxes_other)'
|
||||
'#open': true
|
||||
checkboxes_other_basic:
|
||||
'#type': webform_checkboxes_other
|
||||
'#title': 'Checkboxes other basic'
|
||||
'#options':
|
||||
One: One
|
||||
Two: Two
|
||||
Three: Three
|
||||
'#default_value':
|
||||
- One
|
||||
- Two
|
||||
- Four
|
||||
checkboxes_other_advanced:
|
||||
'#type': webform_checkboxes_other
|
||||
'#title': 'Checkboxes other advanced'
|
||||
'#options':
|
||||
One: One
|
||||
Two: Two
|
||||
Three: Three
|
||||
'#default_value':
|
||||
- One
|
||||
- Two
|
||||
- Four
|
||||
'#required': true
|
||||
'#options_display': two_columns
|
||||
'#other__option_label': 'Is there another option you wish to enter?'
|
||||
'#other__placeholder': 'What is this other option'
|
||||
'#other__description': 'Other checkbox description'
|
||||
radios_other:
|
||||
'#type': details
|
||||
'#title': 'Radios other (radios_other)'
|
||||
'#open': true
|
||||
radios_other_basic:
|
||||
'#type': webform_radios_other
|
||||
'#title': 'Radios other basic'
|
||||
'#options':
|
||||
One: One
|
||||
Two: Two
|
||||
Three: Three
|
||||
'#default_value': Four
|
||||
radios_other_advanced:
|
||||
'#type': webform_radios_other
|
||||
'#title': 'Radios other advanced'
|
||||
'#options':
|
||||
One: One
|
||||
Two: Two
|
||||
Three: Three
|
||||
'#default_value': Four
|
||||
'#required': true
|
||||
'#options_display': two_columns
|
||||
'#other__option_label': 'Is there another option you wish to enter?'
|
||||
'#other__placeholder': 'What is this other option'
|
||||
'#other__description': 'Other radio description'
|
||||
buttons_other:
|
||||
'#type': details
|
||||
'#title': 'Buttons other (buttons_other)'
|
||||
'#open': true
|
||||
buttons_other_basic:
|
||||
'#type': webform_buttons_other
|
||||
'#title': 'Buttons other basic'
|
||||
'#options':
|
||||
One: One
|
||||
Two: Two
|
||||
Three: Three
|
||||
'#default_value': Four
|
||||
buttons_other_advanced:
|
||||
'#type': webform_buttons_other
|
||||
'#title': 'Buttons other advanced'
|
||||
'#options':
|
||||
One: One
|
||||
Two: Two
|
||||
Three: Three
|
||||
'#default_value': Four
|
||||
'#required': true
|
||||
'#other__option_label': Other
|
||||
'#other__placeholder': 'What is this other option'
|
||||
'#other__description': 'Other button description'
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 0
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: message
|
||||
confirmation_title: ''
|
||||
confirmation_message: ''
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: true
|
||||
results_disabled_ignore: false
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers:
|
||||
debug:
|
||||
id: debug
|
||||
label: Debug
|
||||
handler_id: debug
|
||||
status: true
|
||||
weight: 1
|
||||
settings: { }
|
|
@ -0,0 +1,113 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_element_private
|
||||
title: 'Test: Element: Private'
|
||||
description: 'Test element private properties'
|
||||
elements: |
|
||||
private_elements:
|
||||
'#type': details
|
||||
'#title': private
|
||||
'#open': true
|
||||
private:
|
||||
'#type': textfield
|
||||
'#title': private
|
||||
'#private': true
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 0
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: page
|
||||
confirmation_title: ''
|
||||
confirmation_message: ''
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: false
|
||||
results_disabled_ignore: false
|
||||
token_update: true
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers: { }
|
|
@ -0,0 +1,153 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_element_radios
|
||||
title: 'Test: Element: Radios'
|
||||
description: 'Test the radios.'
|
||||
elements: |
|
||||
radios_required_example:
|
||||
'#type': details
|
||||
'#title': 'Radios required'
|
||||
'#open': true
|
||||
radios_required:
|
||||
'#type': radios
|
||||
'#title': radios_required
|
||||
'#required': true
|
||||
'#options': yes_no
|
||||
radios_required_conditional_example:
|
||||
'#type': details
|
||||
'#title': 'Radios required conditional'
|
||||
'#open': true
|
||||
radios_required_conditional_trigger:
|
||||
'#type': checkbox
|
||||
'#title': 'Required the below radio button'
|
||||
'#default_value': true
|
||||
radios_required_conditional:
|
||||
'#type': radios
|
||||
'#title': radios_required
|
||||
'#options': yes_no
|
||||
'#states':
|
||||
required:
|
||||
':input[name="radios_required_conditional_trigger"]':
|
||||
checked: true
|
||||
buttons_required_conditional_example:
|
||||
'#type': details
|
||||
'#title': 'Buttons required conditional'
|
||||
'#open': true
|
||||
buttons_required_conditional_trigger:
|
||||
'#type': checkbox
|
||||
'#title': 'Required the below buttons'
|
||||
'#default_value': true
|
||||
buttons_required_conditional:
|
||||
'#type': webform_buttons
|
||||
'#title': buttons_required
|
||||
'#options': yes_no
|
||||
'#states':
|
||||
required:
|
||||
':input[name="buttons_required_conditional_trigger"]':
|
||||
checked: true
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 0
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: message
|
||||
confirmation_title: ''
|
||||
confirmation_message: ''
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: true
|
||||
results_disabled_ignore: false
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers:
|
||||
debug:
|
||||
id: debug
|
||||
label: Debug
|
||||
handler_id: debug
|
||||
status: true
|
||||
weight: 1
|
||||
settings: { }
|
|
@ -0,0 +1,126 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_element_rating
|
||||
title: 'Test: Element: Rating'
|
||||
description: 'Test the rating element.'
|
||||
elements: |
|
||||
rating_elements:
|
||||
'#type': details
|
||||
'#title': 'Rating Elements'
|
||||
'#open': true
|
||||
rating_basic:
|
||||
'#type': webform_rating
|
||||
'#title': 'Rating basic'
|
||||
rating_advanced:
|
||||
'#type': webform_rating
|
||||
'#title': 'Rating advanced'
|
||||
'#star_size': large
|
||||
'#reset': true
|
||||
'#max': '10'
|
||||
'#step': '0.1'
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 0
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: message
|
||||
confirmation_title: ''
|
||||
confirmation_message: ''
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: false
|
||||
results_disabled_ignore: false
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers:
|
||||
debug:
|
||||
id: debug
|
||||
label: Debug
|
||||
handler_id: debug
|
||||
status: true
|
||||
weight: 1
|
||||
settings: { }
|
|
@ -0,0 +1,119 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_element_signature
|
||||
title: 'Test: Element: Signature'
|
||||
description: 'Test the signature element.'
|
||||
elements: |
|
||||
signature_elements:
|
||||
'#type': details
|
||||
'#title': 'Signature Elements'
|
||||
'#open': true
|
||||
signature_basic:
|
||||
'#type': webform_signature
|
||||
'#title': 'Signature basic'
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 0
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: message
|
||||
confirmation_title: ''
|
||||
confirmation_message: ''
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: false
|
||||
results_disabled_ignore: false
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers:
|
||||
debug:
|
||||
id: debug
|
||||
label: Debug
|
||||
handler_id: debug
|
||||
status: true
|
||||
weight: 1
|
||||
settings: { }
|
|
@ -0,0 +1,176 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_element_states
|
||||
title: 'Test: Elements #states API: States'
|
||||
description: 'Test Drupal''s #states API states (visible, required, disabled, checked, and expanded).'
|
||||
elements: |
|
||||
states_basic:
|
||||
'#type': webform_element_states
|
||||
'#title': 'States basic'
|
||||
'#selector_options':
|
||||
selector_01: 'Selector 01 (selector_01)'
|
||||
selector_02: 'Selector 02 (selector_02)'
|
||||
selector_03: 'Selector 03 (selector_03)'
|
||||
'#default_value':
|
||||
enabled:
|
||||
selector_01:
|
||||
checked: true
|
||||
required:
|
||||
'selector_01''':
|
||||
checked: true
|
||||
selector_02:
|
||||
checked: true
|
||||
disabled:
|
||||
- selector_01:
|
||||
checked: true
|
||||
- or
|
||||
- selector_02:
|
||||
checked: true
|
||||
states_custom_selector:
|
||||
'#type': webform_element_states
|
||||
'#title': 'States custom selector'
|
||||
'#selector_options':
|
||||
selector_01: 'Selector 01 (selector_01)'
|
||||
selector_02: 'Selector 02 (selector_02)'
|
||||
selector_03: 'Selector 03 (selector_03)'
|
||||
'#default_value':
|
||||
required:
|
||||
custom_selector:
|
||||
value: 'Yes'
|
||||
states_empty:
|
||||
'#type': webform_element_states
|
||||
'#title': 'States empty'
|
||||
'#selector_options':
|
||||
selector_01: 'Selector 01 (selector_01)'
|
||||
selector_02: 'Selector 02 (selector_02)'
|
||||
selector_03: 'Selector 03 (selector_03)'
|
||||
states_unsupported_operator:
|
||||
'#type': webform_element_states
|
||||
'#title': 'States unsupport operator'
|
||||
'#default_value':
|
||||
required:
|
||||
- custom_selector:
|
||||
value: 'Yes'
|
||||
- xor
|
||||
- custom_selector:
|
||||
value: 'Yes'
|
||||
states_unsupported_nesting:
|
||||
'#type': webform_element_states
|
||||
'#title': 'States unsupport nested multiple selectors'
|
||||
'#default_value':
|
||||
required:
|
||||
- selector_01:
|
||||
value: 'Yes'
|
||||
selector_02:
|
||||
value: 'Yes'
|
||||
- or
|
||||
- selector_03:
|
||||
value: 'Yes'
|
||||
selector_04:
|
||||
value: 'Yes'
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 0
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: message
|
||||
confirmation_title: ''
|
||||
confirmation_message: ''
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: true
|
||||
results_disabled_ignore: false
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers:
|
||||
debug:
|
||||
id: debug
|
||||
label: Debug
|
||||
handler_id: debug
|
||||
status: true
|
||||
weight: 0
|
||||
settings: { }
|
|
@ -0,0 +1,275 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_element_table
|
||||
title: 'Test: Element: Table'
|
||||
description: 'Test table elements.'
|
||||
elements: |
|
||||
table_elements:
|
||||
'#type': details
|
||||
'#title': Table
|
||||
'#open': true
|
||||
table:
|
||||
'#type': table
|
||||
'#header':
|
||||
- 'First Name'
|
||||
- 'Last Name'
|
||||
- Gender
|
||||
table__1:
|
||||
table__1__first_name:
|
||||
'#type': textfield
|
||||
'#size': 20
|
||||
'#default_value': John
|
||||
table__1__last_name:
|
||||
'#type': textfield
|
||||
'#size': 20
|
||||
'#default_value': Smith
|
||||
table__1__gender:
|
||||
'#type': select
|
||||
'#options': gender
|
||||
'#default_value': Male
|
||||
table__2:
|
||||
table__2__first_name:
|
||||
'#type': textfield
|
||||
'#size': 20
|
||||
'#default_value': Jane
|
||||
table__2__last_name:
|
||||
'#type': textfield
|
||||
'#size': 20
|
||||
'#default_value': Doe
|
||||
table__2__gender:
|
||||
'#type': select
|
||||
'#options': gender
|
||||
'#default_value': Female
|
||||
tableselect_sort_elements:
|
||||
'#type': details
|
||||
'#title': 'Table Select Elements'
|
||||
'#open': true
|
||||
tableselect_default:
|
||||
'#type': tableselect
|
||||
'#title': 'tableselect (default)'
|
||||
'#options':
|
||||
one: One
|
||||
two: Two
|
||||
three: Three
|
||||
four: Four
|
||||
five: Five
|
||||
tableselect_single:
|
||||
'#type': tableselect
|
||||
'#title': 'tableselect (single)'
|
||||
'#multiple': false
|
||||
'#options':
|
||||
one: One
|
||||
two: Two
|
||||
three: Three
|
||||
four: Four
|
||||
five: Five
|
||||
tableselect_custom:
|
||||
'#type': tableselect
|
||||
'#title': 'tableselect (custom)'
|
||||
'#js_select': false
|
||||
'#header':
|
||||
title: Title
|
||||
key: Key
|
||||
'#options':
|
||||
one:
|
||||
title: 'One (1)'
|
||||
key: one
|
||||
two:
|
||||
title: 'Two (2)'
|
||||
key: two
|
||||
three:
|
||||
title: 'Three (3)'
|
||||
key: three
|
||||
four:
|
||||
title: 'Four (4)'
|
||||
key: four
|
||||
five:
|
||||
title: 'Five (5)'
|
||||
key: five
|
||||
'#default_value':
|
||||
five: five
|
||||
three: three
|
||||
webform_tableselect_sort_elements:
|
||||
'#type': details
|
||||
'#title': 'Table Select Sort Elements'
|
||||
'#open': true
|
||||
webform_tableselect_sort_default:
|
||||
'#type': webform_tableselect_sort
|
||||
'#title': 'webform_tableselect_sort (default)'
|
||||
'#options':
|
||||
one: One
|
||||
two: Two
|
||||
three: Three
|
||||
four: Four
|
||||
five: Five
|
||||
webform_tableselect_sort_custom:
|
||||
'#type': webform_tableselect_sort
|
||||
'#title': 'webform_tableselect_sort (custom)'
|
||||
'#js_select': false
|
||||
'#header':
|
||||
title: Title
|
||||
key: Key
|
||||
'#options':
|
||||
one:
|
||||
title: 'One (1)'
|
||||
key: one
|
||||
two:
|
||||
title: 'Two (2)'
|
||||
key: two
|
||||
three:
|
||||
title: 'Three (3)'
|
||||
key: three
|
||||
four:
|
||||
title: 'Four (4)'
|
||||
key: four
|
||||
five:
|
||||
title: 'Five (5)'
|
||||
key: five
|
||||
'#default_value':
|
||||
five: five
|
||||
three: three
|
||||
webform_table_sort_elements:
|
||||
'#type': details
|
||||
'#title': 'Table Sort Elements'
|
||||
'#open': true
|
||||
webform_table_sort_default:
|
||||
'#type': webform_table_sort
|
||||
'#title': 'webform_table_sort (default)'
|
||||
'#options':
|
||||
one: One
|
||||
two: Two
|
||||
three: Three
|
||||
four: Four
|
||||
five: Five
|
||||
webform_table_sort_custom:
|
||||
'#type': webform_table_sort
|
||||
'#title': 'webform_table_sort (custom)'
|
||||
'#js_select': false
|
||||
'#header':
|
||||
title: Title
|
||||
key: Key
|
||||
'#options':
|
||||
one:
|
||||
title: 'One (1)'
|
||||
key: one
|
||||
two:
|
||||
title: 'Two (2)'
|
||||
key: two
|
||||
three:
|
||||
title: 'Three (3)'
|
||||
key: three
|
||||
four:
|
||||
title: 'Four (4)'
|
||||
key: four
|
||||
five:
|
||||
title: 'Five (5)'
|
||||
key: five
|
||||
'#default_value':
|
||||
five: five
|
||||
three: three
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 0
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: message
|
||||
confirmation_title: ''
|
||||
confirmation_message: ''
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: false
|
||||
results_disabled_ignore: false
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers:
|
||||
debug:
|
||||
id: debug
|
||||
label: Debug
|
||||
handler_id: debug
|
||||
status: true
|
||||
weight: 0
|
||||
settings: { }
|
|
@ -0,0 +1,119 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_element_telephone
|
||||
title: 'Test: Element: Telephone'
|
||||
description: 'Test telephone element.'
|
||||
elements: |
|
||||
tel_default:
|
||||
'#type': tel
|
||||
'#title': 'tel default'
|
||||
tel_international:
|
||||
'#type': tel
|
||||
'#title': 'tel international'
|
||||
'#international': true
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 0
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: page
|
||||
confirmation_title: ''
|
||||
confirmation_message: ''
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: false
|
||||
results_disabled_ignore: false
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers:
|
||||
debug:
|
||||
id: debug
|
||||
label: Debug
|
||||
handler_id: debug
|
||||
status: true
|
||||
weight: 0
|
||||
settings: { }
|
|
@ -0,0 +1,141 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_element_term_select
|
||||
title: 'Test: Element: Term select'
|
||||
description: 'Test term select element.'
|
||||
elements: |
|
||||
webform_term_select_tree:
|
||||
'#type': details
|
||||
'#title': 'Term select tree'
|
||||
'#open': true
|
||||
webform_term_select_tree_default:
|
||||
'#type': webform_term_select
|
||||
'#title': webform_term_select_tree_default
|
||||
'#vocabulary': tags
|
||||
webform_term_select_tree_advanced:
|
||||
'#type': webform_term_select
|
||||
'#title': webform_term_select_tree_advanced
|
||||
'#vocabulary': tags
|
||||
'#multiple': true
|
||||
'#tree_delimiter': '..'
|
||||
'#format': breadcrumb
|
||||
'#format_items': ul
|
||||
webform_term_select_breadcrumb:
|
||||
'#type': details
|
||||
'#title': 'Term select breadcrumb'
|
||||
'#open': true
|
||||
webform_term_select_breadcrumb_default:
|
||||
'#type': webform_term_select
|
||||
'#title': webform_term_select_breadcrumb_default
|
||||
'#vocabulary': tags
|
||||
'#breadcrumb': true
|
||||
'#format': breadcrumb
|
||||
webform_term_select_breadcrumb_advanced:
|
||||
'#type': webform_term_select
|
||||
'#title': webform_term_select_breadcrumb_advanced
|
||||
'#vocabulary': tags
|
||||
'#multiple': true
|
||||
'#select2': true
|
||||
'#breadcrumb': true
|
||||
'#breadcrumb_delimiter': ' » '
|
||||
'#format': breadcrumb
|
||||
'#format_items': ul
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 1
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: page
|
||||
confirmation_title: ''
|
||||
confirmation_message: ''
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: false
|
||||
results_disabled_ignore: false
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers: { }
|
|
@ -0,0 +1,144 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_element_text
|
||||
title: 'Test: Element: Text'
|
||||
description: 'Tests text field and text area based elements.'
|
||||
elements: |
|
||||
'#attributes':
|
||||
novalidate: novalidate
|
||||
text_format_element:
|
||||
'#type': details
|
||||
'#title': 'Text format elements'
|
||||
'#open': true
|
||||
text_format:
|
||||
'#type': text_format
|
||||
'#title': text_format
|
||||
'#hide_help': true
|
||||
counter_elements:
|
||||
'#type': details
|
||||
'#title': 'Word and character counter'
|
||||
'#open': true
|
||||
counter_characters:
|
||||
'#type': textfield
|
||||
'#title': 'Character counter'
|
||||
'#counter_type': character
|
||||
'#counter_maximum': 10
|
||||
counter_words:
|
||||
'#type': textarea
|
||||
'#title': 'Word counter'
|
||||
'#counter_type': word
|
||||
'#counter_maximum': 3
|
||||
'#counter_message': 'word(s) left. This is a custom message'
|
||||
creditcard_number_elements:
|
||||
'#type': details
|
||||
'#title': 'Credit card number (creditcard_number)'
|
||||
'#open': true
|
||||
creditcard_number_basic:
|
||||
'#type': webform_creditcard_number
|
||||
'#title': 'Credit card number basic'
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 0
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: message
|
||||
confirmation_title: ''
|
||||
confirmation_message: ''
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: true
|
||||
results_disabled_ignore: false
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers:
|
||||
debug:
|
||||
id: debug
|
||||
label: Debug
|
||||
handler_id: debug
|
||||
status: true
|
||||
weight: 1
|
||||
settings: { }
|
|
@ -0,0 +1,110 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_element_text_format
|
||||
title: 'Test: Element: Text format'
|
||||
description: 'Test text webform element support.'
|
||||
elements: |
|
||||
text_format:
|
||||
'#type': text_format
|
||||
'#title': text_format
|
||||
'#format': plain_text
|
||||
'#default_value': 'The quick brown fox jumped over the lazy dog.'
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 1
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: page
|
||||
confirmation_title: ''
|
||||
confirmation_message: ''
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: false
|
||||
results_disabled_ignore: false
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers: { }
|
|
@ -0,0 +1,146 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_element_toggle
|
||||
title: 'Test: Element: Toggle'
|
||||
description: 'Test the toggle element.'
|
||||
elements: |
|
||||
toggle_elements:
|
||||
'#type': details
|
||||
'#title': 'Toggle Elements'
|
||||
'#open': true
|
||||
toggle_basic:
|
||||
'#type': webform_toggle
|
||||
'#title': 'Basic toggle'
|
||||
toggle_advanced:
|
||||
'#type': webform_toggle
|
||||
'#title': 'Advanced toggle'
|
||||
'#title_display': before
|
||||
'#toggle_theme': iphone
|
||||
'#toggle_size': large
|
||||
'#on_text': 'Yes'
|
||||
'#off_text': 'No'
|
||||
toggles_basic:
|
||||
'#type': webform_toggles
|
||||
'#title': 'Basic toggles'
|
||||
'#options':
|
||||
one: One
|
||||
two: Two
|
||||
three: Three
|
||||
toggles_advanced:
|
||||
'#type': webform_toggles
|
||||
'#title': 'Advanced toggles'
|
||||
'#title_display': before
|
||||
'#toggle_theme': iphone
|
||||
'#toggle_size': large
|
||||
'#on_text': 'Yes'
|
||||
'#off_text': 'No'
|
||||
'#options':
|
||||
one: One
|
||||
two: Two
|
||||
three: Three
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 0
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: message
|
||||
confirmation_title: ''
|
||||
confirmation_message: ''
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: false
|
||||
results_disabled_ignore: false
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers:
|
||||
debug:
|
||||
id: debug
|
||||
label: Debug
|
||||
handler_id: debug
|
||||
status: true
|
||||
weight: 1
|
||||
settings: { }
|
|
@ -0,0 +1,129 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_element_users_roles
|
||||
title: 'Test: Element: Users & Roles'
|
||||
description: 'Test users and roles element.'
|
||||
elements: |
|
||||
webform_users:
|
||||
'#type': webform_users
|
||||
'#title': webform_users
|
||||
'#default_value':
|
||||
- 1
|
||||
webform_roles:
|
||||
'#type': webform_roles
|
||||
'#title': webform_roles
|
||||
'#default_value':
|
||||
anonymous: anonymous
|
||||
authenticated: authenticated
|
||||
webform_roles_without_anonymous:
|
||||
'#type': webform_roles
|
||||
'#title': webform_roles_without_anonymous
|
||||
'#include_anonymous': false
|
||||
'#default_value':
|
||||
authenticated: authenticated
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 0
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: message
|
||||
confirmation_title: ''
|
||||
confirmation_message: ''
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: true
|
||||
results_disabled_ignore: false
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers:
|
||||
debug:
|
||||
id: debug
|
||||
label: Debug
|
||||
handler_id: debug
|
||||
status: true
|
||||
weight: 0
|
||||
settings: { }
|
|
@ -0,0 +1,110 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_element_validate_minlength
|
||||
title: 'Test: Element: Validate Minlength'
|
||||
description: 'Test #minlength element validation support.'
|
||||
elements: |
|
||||
minlength_textfield:
|
||||
'#type': textfield
|
||||
'#title': minlength_textfield
|
||||
'#minlength': 5
|
||||
'#default_value': value
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 0
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: page
|
||||
confirmation_title: ''
|
||||
confirmation_message: ''
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: false
|
||||
results_disabled_ignore: false
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers: { }
|
|
@ -0,0 +1,175 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_element_validate_multiple
|
||||
title: 'Test: Element: Validate Multiple'
|
||||
description: 'Test #multiple element validation support.'
|
||||
elements: |
|
||||
textfield:
|
||||
'#type': details
|
||||
'#title': textfield
|
||||
'#open': true
|
||||
webform_element_multiple_textfield_unlimited:
|
||||
'#type': textfield
|
||||
'#title': webform_element_multiple_textfield_unlimited
|
||||
'#multiple': TRUE
|
||||
webform_element_multiple_textfield_three:
|
||||
'#type': textfield
|
||||
'#title': webform_element_multiple_textfield_three
|
||||
'#multiple': 3
|
||||
webform_link:
|
||||
'#type': details
|
||||
'#title': webform_link
|
||||
'#open': true
|
||||
webform_element_multiple_link_three:
|
||||
'#type': webform_link
|
||||
'#title': webform_element_multiple_link_three
|
||||
'#multiple': 3
|
||||
'#multiple__header': true
|
||||
webform_element_multiple_link_unlimited:
|
||||
'#type': webform_link
|
||||
'#title': webform_element_multiple_link_unlimited
|
||||
'#multiple': TRUE
|
||||
'#multiple__header': true
|
||||
checkboxes:
|
||||
'#type': details
|
||||
'#title': checkboxes
|
||||
'#open': true
|
||||
webform_element_multiple_checkboxes_two:
|
||||
'#type': checkboxes
|
||||
'#title': webform_element_multiple_checkboxes_two
|
||||
'#multiple': 2
|
||||
'#multiple_error': 'Please check only two options.'
|
||||
'#options':
|
||||
one: One
|
||||
two: Two
|
||||
three: Three
|
||||
four: Four
|
||||
select:
|
||||
'#type': details
|
||||
'#title': select
|
||||
'#open': true
|
||||
webform_element_multiple_select_two:
|
||||
'#type': select
|
||||
'#title': webform_element_multiple_select_two
|
||||
'#select2': true
|
||||
'#multiple': 2
|
||||
'#options':
|
||||
one: One
|
||||
two: Two
|
||||
three: Three
|
||||
four: Four
|
||||
file:
|
||||
'#type': details
|
||||
'#title': managed_file
|
||||
'#open': true
|
||||
webform_element_multiple_managed_file_two:
|
||||
'#type': managed_file
|
||||
'#title': webform_element_multiple_managed_file_two
|
||||
'#select2': true
|
||||
'#multiple': 2
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 0
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: message
|
||||
confirmation_title: ''
|
||||
confirmation_message: ''
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: false
|
||||
results_disabled_ignore: false
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers:
|
||||
debug:
|
||||
id: debug
|
||||
label: Debug
|
||||
handler_id: debug
|
||||
status: true
|
||||
weight: 0
|
||||
settings: { }
|
|
@ -0,0 +1,129 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_element_validate_unique
|
||||
title: 'Test: Element: Validate Unique'
|
||||
description: 'Test #unique element validation support.'
|
||||
elements: |
|
||||
unique_textfield:
|
||||
'#type': textfield
|
||||
'#title': unique_textfield
|
||||
'#description': '#unique property is validated by single value elements'
|
||||
'#unique': true
|
||||
'#default_value': value
|
||||
unique_custom:
|
||||
'#type': textfield
|
||||
'#title': unique_textfield
|
||||
'#description': '#unique_error is displayed'
|
||||
'#unique': true
|
||||
'#unique_error': 'This is a custom unique error message.'
|
||||
'#default_value': custom
|
||||
unique_checkboxes:
|
||||
'#type': checkboxes
|
||||
'#title': unique_checkboxes
|
||||
'#description': '#unique property is ignored by multiple value elements'
|
||||
'#unique': true
|
||||
'#options':
|
||||
1: one
|
||||
2: two
|
||||
'#default_value':
|
||||
- 1
|
||||
- 2
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 0
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: page
|
||||
confirmation_title: ''
|
||||
confirmation_message: ''
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: false
|
||||
results_disabled_ignore: false
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers: { }
|
|
@ -0,0 +1,118 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_form_assets
|
||||
title: 'Test: Webform: Assets (CSS/JS)'
|
||||
description: 'Test custom CSS and JS webform asssets.'
|
||||
elements: |
|
||||
test:
|
||||
'#type': textfield
|
||||
'#title': 'Text field'
|
||||
css: |
|
||||
.webform-submission-form {
|
||||
background-color: #cccccc;
|
||||
display: none;
|
||||
padding: 20px;
|
||||
}
|
||||
javascript: |
|
||||
(function ($) {
|
||||
$(function() {
|
||||
$('.webform-submission-form').fadeIn(3000);
|
||||
});
|
||||
})(jQuery);
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 0
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: page
|
||||
confirmation_title: ''
|
||||
confirmation_message: ''
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: true
|
||||
results_disabled_ignore: true
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers: { }
|
|
@ -0,0 +1,108 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_form_autofocus
|
||||
title: 'Test: Webform: Autofocus'
|
||||
description: 'Test autofocusing the first element.'
|
||||
elements: |
|
||||
test:
|
||||
'#type': textfield
|
||||
'#title': 'First input'
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: true
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: true
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 0
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: page
|
||||
confirmation_title: ''
|
||||
confirmation_message: ''
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: true
|
||||
results_disabled_ignore: true
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers: { }
|
|
@ -0,0 +1,135 @@
|
|||
langcode: en
|
||||
status: open
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_form_buttons
|
||||
title: 'Test: Webform: Buttons'
|
||||
description: 'Test custom webform buttons.'
|
||||
elements: |
|
||||
wizard_page_1:
|
||||
'#type': webform_wizard_page
|
||||
'#title': 'Page 1'
|
||||
text_1:
|
||||
'#type': textfield
|
||||
'#title': 'Text 1'
|
||||
wizard_page_2:
|
||||
'#type': webform_wizard_page
|
||||
'#title': 'Page 2'
|
||||
text_2:
|
||||
'#type': textfield
|
||||
'#title': 'Text 2'
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes:
|
||||
class:
|
||||
- form_submit_attributes
|
||||
style: 'color: green'
|
||||
form_exception_message: ''
|
||||
form_closed_message: ''
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: true
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes:
|
||||
class:
|
||||
- wizard_next_button_attributes
|
||||
style: 'color: yellow'
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes:
|
||||
class:
|
||||
- wizard_prev_button_attributes
|
||||
style: 'color: yellow'
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 1
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes:
|
||||
class:
|
||||
- preview_next_button_attributes
|
||||
style: 'color: orange'
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes:
|
||||
class:
|
||||
- preview_prev_button_attributes
|
||||
style: 'color: orange'
|
||||
preview_message: ''
|
||||
draft: true
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes:
|
||||
class:
|
||||
- draft_button_attributes
|
||||
style: 'color: blue'
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: page
|
||||
confirmation_title: ''
|
||||
confirmation_message: ''
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: false
|
||||
results_disabled_ignore: false
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers: { }
|
|
@ -0,0 +1,107 @@
|
|||
langcode: en
|
||||
status: closed
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform_test
|
||||
open: null
|
||||
close: null
|
||||
uid: null
|
||||
template: false
|
||||
id: test_form_closed
|
||||
title: 'Test: Webform: Closed'
|
||||
description: 'Test warning messages being displayed when a webform is closed.'
|
||||
elements: |
|
||||
description:
|
||||
'#markup': 'This message should not be displayed'
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
page: true
|
||||
page_submit_path: ''
|
||||
page_confirm_path: ''
|
||||
form_submit_label: ''
|
||||
form_submit_once: false
|
||||
form_submit_attributes: { }
|
||||
form_exception_message: ''
|
||||
form_closed_message: 'This form is closed.'
|
||||
form_previous_submissions: true
|
||||
form_confidential: false
|
||||
form_confidential_message: ''
|
||||
form_prepopulate: false
|
||||
form_prepopulate_source_entity: false
|
||||
form_disable_autocomplete: false
|
||||
form_novalidate: false
|
||||
form_unsaved: false
|
||||
form_disable_back: false
|
||||
form_autofocus: false
|
||||
form_details_toggle: false
|
||||
wizard_progress_bar: true
|
||||
wizard_progress_pages: false
|
||||
wizard_progress_percentage: false
|
||||
wizard_next_button_label: ''
|
||||
wizard_next_button_attributes: { }
|
||||
wizard_prev_button_label: ''
|
||||
wizard_prev_button_attributes: { }
|
||||
wizard_start_label: ''
|
||||
wizard_complete: true
|
||||
wizard_complete_label: ''
|
||||
preview: 0
|
||||
preview_next_button_label: ''
|
||||
preview_next_button_attributes: { }
|
||||
preview_prev_button_label: ''
|
||||
preview_prev_button_attributes: { }
|
||||
preview_message: ''
|
||||
draft: false
|
||||
draft_auto_save: false
|
||||
draft_button_label: ''
|
||||
draft_button_attributes: { }
|
||||
draft_saved_message: ''
|
||||
draft_loaded_message: ''
|
||||
confirmation_type: page
|
||||
confirmation_title: ''
|
||||
confirmation_message: ''
|
||||
confirmation_url: ''
|
||||
confirmation_attributes: { }
|
||||
confirmation_back: true
|
||||
confirmation_back_label: ''
|
||||
confirmation_back_attributes: { }
|
||||
limit_total: null
|
||||
limit_total_message: ''
|
||||
limit_user: null
|
||||
limit_user_message: ''
|
||||
purge: none
|
||||
purge_days: null
|
||||
entity_limit_total: null
|
||||
entity_limit_user: null
|
||||
results_disabled: true
|
||||
results_disabled_ignore: true
|
||||
token_update: false
|
||||
access:
|
||||
create:
|
||||
roles:
|
||||
- anonymous
|
||||
- authenticated
|
||||
users: { }
|
||||
view_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
purge_any:
|
||||
roles: { }
|
||||
users: { }
|
||||
view_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
update_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
delete_own:
|
||||
roles: { }
|
||||
users: { }
|
||||
handlers: { }
|
Some files were not shown because too many files have changed in this diff Show more
Reference in a new issue