Webform module and config export

This commit is contained in:
Rob Davies 2017-03-16 15:29:07 +00:00
parent 3e6a5cbed2
commit 0e15467384
1040 changed files with 117682 additions and 0 deletions

View file

@ -0,0 +1,10 @@
langcode: en
status: true
dependencies:
module:
- webform
id: webform_submission_delete_action
label: 'Delete submission'
type: webform_submission
plugin: webform_submission_delete_action
configuration: { }

View file

@ -0,0 +1,10 @@
langcode: en
status: true
dependencies:
module:
- webform
id: webform_submission_make_sticky_action
label: 'Star/Flag submission'
type: webform_submission
plugin: webform_submission_make_sticky_action
configuration: { }

View file

@ -0,0 +1,10 @@
langcode: en
status: true
dependencies:
module:
- webform
id: webform_submission_make_unsticky_action
label: 'Unstar/unflag submission'
type: webform_submission
plugin: webform_submission_make_unsticky_action
configuration: { }

View file

@ -0,0 +1,208 @@
settings:
default_page_base_path: form
default_form_closed_message: 'Sorry...This form is closed to new submissions.'
default_form_exception_message: 'Unable to display this webform. Please contact the site administrator.'
default_form_submit_label: Submit
default_form_submit_once: false
default_form_confidential_message: 'This form is confidential. You must <a href="[site:login-url]/logout?destination=[current-page:url:relative]">Log out</a> to submit it.'
default_form_disable_back: false
default_form_unsaved: false
default_form_novalidate: false
default_form_details_toggle: true
form_classes: |
container-inline clearfix
form--inline clearfix
messages messages--error
messages messages--warning
messages messages--status
button_classes: ''
default_wizard_prev_button_label: '< Previous Page'
default_wizard_next_button_label: 'Next Page >'
default_wizard_start_label: Start
default_wizard_complete_label: Complete
default_preview_next_button_label: Preview
default_preview_prev_button_label: '< Previous'
default_preview_message: 'Please review your submission. Your submission is not complete until you press the "Submit" button!'
default_draft_button_label: 'Save Draft'
default_draft_saved_message: 'Submission saved. You may return to this form later and it will restore the current values.'
default_draft_loaded_message: 'A partially-completed form was found. Please complete the remaining portions.'
default_confirmation_message: 'New submission added to [webform:title].'
default_confirmation_back_label: 'Back to form'
confirmation_classes: |
messages messages--error
messages messages--warning
messages messages--status
confirmation_back_classes: |
button
default_limit_total_message: 'No more submissions are permitted.'
default_limit_user_message: 'No more submissions are permitted.'
assets:
css: ''
javascript: ''
export:
exporter: delimited
delimiter: ','
multiple_delimiter: ;
excel: false
file_name: 'submission-[webform_submission:serial]'
header_format: label
header_prefix: true
header_prefix_label_delimiter: ': '
header_prefix_key_delimiter: __
composite_element_item_format: label
options_format: compact
options_item_format: label
entity_reference_format: link
likert_answers_format: label
signature_format: status
batch:
default_batch_export_size: 500
default_batch_update_size: 500
default_batch_delete_size: 500
purge_settings:
cron_size: 100
elements:
allowed_tags: admin
wrapper_classes: |
container-inline clearfix
form--inline clearfix
messages messages--error
messages messages--warning
messages messages--status
classes: |
container-inline clearfix
form--inline clearfix
messages messages--error
messages messages--warning
messages messages--status
default_description_display: ''
default_google_maps_api_key: ''
excluded_types: { }
file:
file_public: false
default_max_filesize: ''
default_managed_file_extensions: 'gif jpg png bmp eps tif pict psd txt rtf html odf pdf doc docx ppt pptx xls xlsx xml avi mov mp3 ogg wav bz2 dmg gz jar rar sit svg tar zip'
default_audio_file_extensions: 'mp3 ogg wav'
default_document_file_extensions: 'txt rtf pdf doc docx odt ppt pptx odp xls xlsx ods'
default_image_file_extensions: 'gif jpg png svg'
default_video_file_extensions: 'avi mov mp4 ogg wav webm'
format: { }
mail:
default_from_mail: '[site:mail]'
default_from_name: '[site:name]'
default_subject: 'Webform submission from: [webform_submission:source-entity]'
default_body_text: |
Submitted on [webform_submission:created]
Submitted by: [webform_submission:user]
Submitted values are:
[webform_submission:values]
default_body_html: |
<p>Submitted on [webform_submission:created]</p>
<p>Submitted by: [webform_submission:user]</p>
<p>Submitted values are:</p>
[webform_submission:values]
test:
types: |
checkbox:
- true
color:
- '#ffffcc'
- '#ffffcc'
- '#ccffff'
date:
- '1942-06-18'
- '1940-07-07'
- '1943-02-25'
- '1940-10-09'
datetime:
- '1942-06-18'
- '1940-07-07'
- '1943-02-25'
- '1940-10-09'
datelist:
- '1942-06-18'
- '1940-07-07'
- '1943-02-25'
- '1940-10-09'
email:
- 'example@example.com'
- 'test@test.com'
- 'random@random.com'
language_select:
- en
machine_name:
- 'loremipsum'
- 'oratione'
- 'dixisset'
tel:
- '123-456-7890'
- '098-765-4321'
textarea:
- '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.'
- 'Huius, Lyco, oratione locuples, rebus ipsis ielunior. Duo Reges: constructio interrete. Sed haec in pueris; Sed utrum hortandus es nobis, Luci, inquit, an etiam tua sponte propensus es? Sapiens autem semper beatus est et est aliquando in dolore; Immo videri fortasse. Paulum, cum regem Persem captum adduceret, eodem flumine invectio? Et ille ridens: Video, inquit, quid agas;'
- 'Quae cum dixisset, finem ille. Quamquam non negatis nos intellegere quid sit voluptas, sed quid ille dicat. Progredientibus autem aetatibus sensim tardeve potius quasi nosmet ipsos cognoscimus. Gloriosa ostentatio in constituendo summo bono. Qui-vere falsone, quaerere mittimus-dicitur oculis se privasse; Duarum enim vitarum nobis erunt instituta capienda. Comprehensum, quod cognitum non habet? Qui enim existimabit posse se miserum esse beatus non erit. Causa autem fuit huc veniendi ut quosdam hinc libros promerem. Nunc omni virtuti vitium contrario nomine opponitur.'
text_format:
- 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>'
- value: '<p>Huius, Lyco, oratione locuples, rebus ipsis ielunior. Duo Reges: constructio interrete. Sed haec in pueris; Sed utrum hortandus es nobis, Luci, inquit, an etiam tua sponte propensus es? Sapiens autem semper beatus est et est aliquando in dolore; Immo videri fortasse. Paulum, cum regem Persem captum adduceret, eodem flumine invectio? Et ille ridens: Video, inquit, quid agas;</p>'
- value: '<p>Quae cum dixisset, finem ille. Quamquam non negatis nos intellegere quid sit voluptas, sed quid ille dicat. Progredientibus autem aetatibus sensim tardeve potius quasi nosmet ipsos cognoscimus. Gloriosa ostentatio in constituendo summo bono. Qui-vere falsone, quaerere mittimus-dicitur oculis se privasse; Duarum enim vitarum nobis erunt instituta capienda. Comprehensum, quod cognitum non habet? Qui enim existimabit posse se miserum esse beatus non erit. Causa autem fuit huc veniendi ut quosdam hinc libros promerem. Nunc omni virtuti vitium contrario nomine opponitur.</p>'
url:
- 'http://example.com'
- 'http://test.com'
webform_creditcard_number:
- '4111111111111111'
webform_email_confirm:
- 'example@example.com'
- 'test@test.com'
- 'random@random.com'
webform_email_multiple:
- 'example@example.com, test@test.com, random@random.com'
webform_location:
- value: 'The White House, 1600 Pennsylvania Ave NW, Washington, DC 20500, USA'
- value: 'London SW1A 1AA, United Kingdom'
- value: 'Moscow, Russia, 10307'
webform_time:
- '09:00'
- '17:00'
names: |
first_name:
- 'John'
- 'Paul'
- 'Ringo'
- 'George'
last_name:
- 'Lennon'
- 'McCartney'
- 'Starr'
- 'Harrison'
address:
- '10 Main Street'
- '11 Brook Alley Road. APT 1'
zip:
- '11111'
- '12345'
- '12345-6789'
phone:
- '123-456-7890'
- '098-765-4321'
city:
- 'Springfield'
- 'Pleasantville'
- 'Hill Valley'
url:
- 'http://example.com'
- 'http://test.com'
default:
- 'Loremipsum'
- 'Oratione'
- 'Dixisset'
ui:
video_display: dialog
details_save: true
dialog_disabled: false
offcanvas_disabled: false
html_editor_disabled: false
library:
cdn: false
langcode: en
third_party_settings: { }

View file

@ -0,0 +1,161 @@
langcode: en
status: open
dependencies:
enforced:
module:
- webform
open: null
close: null
uid: null
template: false
id: contact
title: Contact
description: 'Basic email contact webform.'
elements: |
name:
'#title': 'Your Name'
'#type': textfield
'#required': true
'#default_value': '[webform-authenticated-user:display-name]'
email:
'#title': 'Your Email'
'#type': email
'#required': true
'#default_value': '[webform-authenticated-user:mail]'
subject:
'#title': Subject
'#type': textfield
'#required': true
'#test': 'Testing contact webform from [site:name]'
message:
'#title': Message
'#type': textarea
'#required': true
'#test': 'Please ignore this email.'
css: ''
javascript: ''
settings:
page: true
page_submit_path: ''
page_confirm_path: ''
form_submit_label: 'Send message'
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: 'Your message has been sent.'
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: 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_confirmation:
id: email
label: 'Email confirmation'
handler_id: email_confirmation
status: true
weight: 1
settings:
to_mail: '[webform_submission:values:email:raw]'
cc_mail: ''
bcc_mail: ''
from_mail: default
from_name: default
subject: '[webform_submission:values:subject:value]'
body: '[webform_submission:values:message:value]'
excluded_elements: { }
html: true
attachments: false
debug: false
email_notification:
id: email
label: 'Email notification'
handler_id: email_notification
status: true
weight: 1
settings:
to_mail: default
cc_mail: ''
bcc_mail: ''
from_mail: '[webform_submission:values:email:raw]'
from_name: '[webform_submission:values:name:value]'
subject: '[webform_submission:values:subject:value]'
body: '[webform_submission:values:message:value]'
excluded_elements: { }
html: true
attachments: false
debug: false

View file

@ -0,0 +1,9 @@
langcode: en
status: true
dependencies:
enforced:
module:
- webform
id: country_codes
label: 'Country codes'
options: ''

View file

@ -0,0 +1,9 @@
langcode: en
status: true
dependencies:
enforced:
module:
- webform
id: country_names
label: 'Country names'
options: ''

View file

@ -0,0 +1,13 @@
langcode: en
status: true
dependencies:
enforced:
module:
- webform
id: creditcard_codes
label: 'Credit card codes'
options: |
VI: 'Visa'
MC: 'Mastercard'
AE: 'American Express'
DC: 'Discover'

View file

@ -0,0 +1,16 @@
langcode: en
status: true
dependencies:
enforced:
module:
- webform
id: days
label: Days
options: |
Sunday: Sunday
Monday: Monday
Tuesday: Tuesday
Wednesday: Wednesday
Thursday: Thursday
Friday: Friday
Saturday: Saturday

View file

@ -0,0 +1,14 @@
langcode: en
status: true
dependencies:
enforced:
module:
- webform
id: education
label: Education
options: |
High School: High School
Associate Degree: Associate Degree
Associate Degree: Associate Degree
Graduate or Professional Degree: Graduate or Professional Degree
Some College: Some College

View file

@ -0,0 +1,14 @@
langcode: en
status: true
dependencies:
enforced:
module:
- webform
id: employment_status
label: 'Employment status'
options: |
'Full Time': 'Full Time'
'Part Time': 'Part Time'
'Military': 'Military'
Unemployed: Unemployed
Retired: Retired

View file

@ -0,0 +1,17 @@
langcode: en
status: true
dependencies:
enforced:
module:
- webform
id: ethnicity
label: Ethnicity
options: |
Caucasian: Caucasian
'Latino/Hispanic': 'Latino/Hispanic'
'Middle Eastern': 'Middle Eastern'
African: African
Caribbean: Caribbean
'South Asian': 'South Asian'
'East Asian': 'East Asian'
Mixed: Mixed

View file

@ -0,0 +1,12 @@
langcode: en
status: true
dependencies:
enforced:
module:
- webform
id: gender
label: Gender
options: |
Male: Male
Female: Female
Transgender: Transgender

View file

@ -0,0 +1,48 @@
langcode: en
status: true
dependencies:
enforced:
module:
- webform
id: industry
label: Industry
options: |
Accounting/Finance: Accounting/Finance
Advertising/Public Relations: Advertising/Public Relations
Aerospace/Aviation: Aerospace/Aviation
Arts/Entertainment/Publishing: Arts/Entertainment/Publishing
Automotive: Automotive
Banking/Mortgage: Banking/Mortgage
Business Development: Business Development
Business Opportunity: Business Opportunity
Clerical/Administrative: Clerical/Administrative
Construction/Facilities: Construction/Facilities
Consumer Goods: Consumer Goods
Customer Service: Customer Service
Education/Training: Education/Training
Energy/Utilities: Energy/Utilities
Engineering: Engineering
Government/Military: Government/Military
Healthcare: Healthcare
Hospitality/Travel: Hospitality/Travel
Human Resources: Human Resources
Installation/Maintenance: Installation/Maintenance
Insurance: Insurance
Internet: Internet
Law Enforcement/Security: Law Enforcement/Security
Legal: Legal
Management/Executive: Management/Executive
Manufacturing/Operations: Manufacturing/Operations
Marketing: Marketing
Non-Profit/Volunteer: Non-Profit/Volunteer
Pharmaceutical/Biotech: Pharmaceutical/Biotech
Professional Services: Professional Services
Real Estate: Real Estate
Restaurant/Food Service: Restaurant/Food Service
Retail: Retail
Sales: Sales
Science/Research: Science/Research
Skilled Labor: Skilled Labor
Technology: Technology
Telecommunications: Telecommunications
Transportation/Logistics: Transportation/Logistics

View file

@ -0,0 +1,9 @@
langcode: en
status: true
dependencies:
enforced:
module:
- webform
id: languages
label: Languages
options: ''

View file

@ -0,0 +1,14 @@
langcode: en
status: true
dependencies:
enforced:
module:
- webform
id: likert_agreement
label: 'Likert: Agreement'
options: |
1: Much Worse
2: Somewhat Worse
3: About the Same
4: Somewhat Better
5: Much Better

View file

@ -0,0 +1,14 @@
langcode: en
status: true
dependencies:
enforced:
module:
- webform
id: likert_comparison
label: 'Likert: Comparison'
options: |
1: Strongly Disagree
2: Disagree
3: Neutral
4: Agree
5: Strongly Agree

View file

@ -0,0 +1,14 @@
langcode: en
status: true
dependencies:
enforced:
module:
- webform
id: likert_importance
label: 'Likert: Importance'
options: |
1: Not at all Important
2: Somewhat Important
3: Neutral
4: Important
5: Very Important

View file

@ -0,0 +1,14 @@
langcode: en
status: true
dependencies:
enforced:
module:
- webform
id: likert_quality
label: 'Likert: Quality'
options: |
1: Poor
2: Fair
3: Good
4: Very good
5: Excellent

View file

@ -0,0 +1,14 @@
langcode: en
status: true
dependencies:
enforced:
module:
- webform
id: likert_satisfaction
label: 'Likert: Satisfaction'
options: |
1: Very Unsatisfied
2: Unsatisfied
3: Neutral
4: Satisfied
5: Very Satisfied

View file

@ -0,0 +1,19 @@
langcode: en
status: true
dependencies:
enforced:
module:
- webform
id: likert_ten_scale
label: 'Likert: Ten Scale'
options: |
1: 1
2: 2
3: 3
4: 4
5: 5
6: 6
7: 7
8: 8
9: 9
10: 10

View file

@ -0,0 +1,14 @@
langcode: en
status: true
dependencies:
enforced:
module:
- webform
id: likert_would_you
label: 'Likert: Would You'
options: |
1: Definitely Not
2: Probably Not
3: Not Sure
4: Probably
5: Definitely

View file

@ -0,0 +1,13 @@
langcode: en
status: true
dependencies:
enforced:
module:
- webform
id: marital_status
label: 'Marital status'
options: |
Single: Single
Married: Married
Divorced: Divorced
Widowed: Widowed

View file

@ -0,0 +1,21 @@
langcode: en
status: true
dependencies:
enforced:
module:
- webform
id: months
label: Months
options: |
January: January
February: February
March: March
April: April
May: May
June: June
July: July
August: August
September: September
October: October
November: November
December: December

View file

@ -0,0 +1,12 @@
langcode: en
status: true
dependencies:
enforced:
module:
- webform
id: phone_types
label: 'Phone type'
options: |
Home: Home
Office: Office
Cell: Cell

View file

@ -0,0 +1,14 @@
langcode: en
status: true
dependencies:
enforced:
module:
- webform
id: relationship
label: Relationship
options: |
Parent: Parent
'Significant Other': 'Significant Other'
Sibling: Sibling
Child: Child
Friend: Friend

View file

@ -0,0 +1,14 @@
langcode: en
status: true
dependencies:
enforced:
module:
- webform
id: size
label: Size
options: |
Extra Small: Extra Small
Small: Small
Medium: Medium
Large: Large
Extra Large: Extra Large

View file

@ -0,0 +1,61 @@
langcode: en
status: true
dependencies:
enforced:
module:
- webform
id: state_codes
label: 'State codes'
options: |
AL: Alabama
AK: Alaska
AZ: Arizona
AR: Arkansas
CA: California
CO: Colorado
CT: Connecticut
DE: Delaware
DC: 'District of Columbia'
FL: Florida
GA: Georgia
GU: Guam
HI: Hawaii
ID: Idaho
IL: Illinois
IN: Indiana
IA: Iowa
KS: Kansas
KY: Kentucky
LA: Louisiana
ME: Maine
MD: Maryland
MA: Massachusetts
MI: Michigan
MN: Minnesota
MS: Mississippi
MO: Missouri
MT: Montana
NE: Nebraska
NV: Nevada
NH: 'New Hampshire'
NJ: 'New Jersey'
NM: 'New Mexico'
NY: 'New York'
NC: 'North Carolina'
ND: 'North Dakota'
OH: Ohio
OK: Oklahoma
OR: Oregon
PA: Pennsylvania
RI: 'Rhode Island'
SC: 'South Carolina'
SD: 'South Dakota'
TN: Tennessee
TX: Texas
UT: Utah
VT: Vermont
VA: Virginia
WA: Washington
WV: 'West Virginia'
WI: Wisconsin
WY: Wyoming

View file

@ -0,0 +1,60 @@
langcode: en
status: true
dependencies:
enforced:
module:
- webform
id: state_names
label: 'State names'
options: |
Alabama: Alabama
Alaska: Alaska
Arizona: Arizona
Arkansas: Arkansas
California: California
Colorado: Colorado
Connecticut: Connecticut
Delaware: Delaware
'District of Columbia': 'District of Columbia'
Florida: Florida
Georgia: Georgia
Hawaii: Hawaii
Idaho: Idaho
Illinois: Illinois
Indiana: Indiana
Iowa: Iowa
Kansas: Kansas
Kentucky: Kentucky
Louisiana: Louisiana
Maine: Maine
Maryland: Maryland
Massachusetts: Massachusetts
Michigan: Michigan
Minnesota: Minnesota
Mississippi: Mississippi
Missouri: Missouri
Montana: Montana
Nebraska: Nebraska
Nevada: Nevada
'New Hampshire': 'New Hampshire'
'New Jersey': 'New Jersey'
'New Mexico': 'New Mexico'
'New York': 'New York'
'North Carolina': 'North Carolina'
'North Dakota': 'North Dakota'
Ohio: Ohio
Oklahoma: Oklahoma
Oregon: Oregon
Pennsylvania: Pennsylvania
'Rhode Island': 'Rhode Island'
'South Carolina': 'South Carolina'
'South Dakota': 'South Dakota'
Tennessee: Tennessee
Texas: Texas
Utah: Utah
Vermont: Vermont
Virginia: Virginia
Washington: Washington
'West Virginia': 'West Virginia'
Wisconsin: Wisconsin
Wyoming: Wyoming

View file

@ -0,0 +1,71 @@
langcode: en
status: true
dependencies:
enforced:
module:
- webform
id: state_province_codes
label: 'State/Province codes'
options: |
AL: Alabama
AK: Alaska
AS: 'American Samoa'
AZ: Arizona
AR: Arkansas
AE: 'Armed Forces (Canada, Europe, Africa, or Middle East'
AA: 'Armed Forces Americas'
AP: 'Armed Forces Pacific'
CA: California
CO: Colorado
CT: Connecticut
DE: Delaware
DC: 'District of Columbia'
FM: 'Federate States of Micronesia'
FL: Florida
GA: Georgia
GU: Guam
HI: Hawaii
ID: Idaho
IL: Illinois
IN: Indiana
IA: Iowa
KS: Kansas
KY: Kentucky
LA: Louisiana
ME: Maine
MH: 'Marshall Islands'
MD: Maryland
MA: Massachusetts
MI: Michigan
MN: Minnesota
MS: Mississippi
MO: Missouri
MT: Montana
NE: Nebraska
NV: Nevada
NH: 'New Hampshire'
NJ: 'New Jersey'
NM: 'New Mexico'
NY: 'New York'
NC: 'North Carolina'
ND: 'North Dakota'
MP: 'Northern Mariana Islands'
OH: Ohio
OK: Oklahoma
OR: Oregon
PW: Palau
PA: Pennsylvania
PR: 'Puerto Rico'
RI: 'Rhode Island'
SC: 'South Carolina'
SD: 'South Dakota'
TN: Tennessee
TX: Texas
UT: Utah
VT: Vermont
VI: 'Virgin Islands'
VA: Virginia
WA: Washington
WV: 'West Virginia'
WI: Wisconsin
WY: Wyoming

View file

@ -0,0 +1,71 @@
langcode: en
status: true
dependencies:
enforced:
module:
- webform
id: state_province_names
label: 'State/Province names'
options: |
Alabama: Alabama
Alaska: Alaska
'American Samoa': 'American Samoa'
Arizona: Arizona
Arkansas: Arkansas
'Armed Forces (Canada, Europe, Africa, or Middle East': 'Armed Forces (Canada, Europe, Africa, or Middle East'
'Armed Forces Americas': 'Armed Forces Americas'
'Armed Forces Pacific': 'Armed Forces Pacific'
California: California
Colorado: Colorado
Connecticut: Connecticut
Delaware: Delaware
'District of Columbia': 'District of Columbia'
'Federate States of Micronesia': 'Federate States of Micronesia'
Florida: Florida
Georgia: Georgia
Guam: Guam
Hawaii: Hawaii
Idaho: Idaho
Illinois: Illinois
Indiana: Indiana
Iowa: Iowa
Kansas: Kansas
Kentucky: Kentucky
Louisiana: Louisiana
Maine: Maine
'Marshall Islands': 'Marshall Islands'
Maryland: Maryland
Massachusetts: Massachusetts
Michigan: Michigan
Minnesota: Minnesota
Mississippi: Mississippi
Missouri: Missouri
Montana: Montana
Nebraska: Nebraska
Nevada: Nevada
'New Hampshire': 'New Hampshire'
'New Jersey': 'New Jersey'
'New Mexico': 'New Mexico'
'New York': 'New York'
'North Carolina': 'North Carolina'
'North Dakota': 'North Dakota'
'Northern Mariana Islands': 'Northern Mariana Islands'
Ohio: Ohio
Oklahoma: Oklahoma
Oregon: Oregon
Palau: Palau
Pennsylvania: Pennsylvania
'Puerto Rico': 'Puerto Rico'
'Rhode Island': 'Rhode Island'
'South Carolina': 'South Carolina'
'South Dakota': 'South Dakota'
Tennessee: Tennessee
Texas: Texas
Utah: Utah
Vermont: Vermont
'Virgin Islands': 'Virgin Islands'
Virginia: Virginia
Washington: Washington
'West Virginia': 'West Virginia'
Wisconsin: Wisconsin
Wyoming: Wyoming

View file

@ -0,0 +1,9 @@
langcode: en
status: true
dependencies:
enforced:
module:
- webform
id: time_zones
label: 'Time zones'
options: ''

View file

@ -0,0 +1,14 @@
langcode: en
status: true
dependencies:
enforced:
module:
- webform
id: titles
label: Titles
options: |
Miss: Miss
Ms: Ms
Mr: Mr
Mrs: Mrs
Dr: Dr

View file

@ -0,0 +1,11 @@
langcode: en
status: true
dependencies:
enforced:
module:
- webform
id: yes_no
label: Yes/No
options: |
Yes: Yes
No: No

View file

@ -0,0 +1,21 @@
webform.admin_settings.third_party.honeypot:
type: mapping
label: 'Webform test third party settings'
mapping:
honeypot:
type: boolean
label: 'Protect all webforms with Honeypot'
time_restriction:
type: boolean
label: 'Add time limit to all webforms'
webform.settings.third_party.honeypot:
type: mapping
label: 'Webform test third party settings'
mapping:
honeypot:
type: boolean
label: 'Protect all webforms with Honeypot'
time_restriction:
type: boolean
label: 'Add time limit to all webforms'

View file

@ -0,0 +1,860 @@
# Schema for the configuration files of the Webform module.
webform.settings:
type: config_object
label: 'Webform settings'
mapping:
settings:
type: mapping
label: 'Webform default settings'
mapping:
default_page_base_path:
type: string
label: 'Default base path'
default_form_submit_label:
type: label
label: 'Default webform submit text'
default_form_submit_once:
type: boolean
label: 'Prevent duplicate submissions'
default_form_closed_message:
type: text
label: 'Default webform closed message'
default_form_exception_message:
type: text
label: 'Default webform exception message'
default_form_confidential_message:
type: text
label: 'Default webform confidential message'
default_form_novalidate:
type: boolean
label: 'Disable client-side validation'
default_form_unsaved:
type: boolean
label: 'Warn users about unsaved changes'
default_form_disable_back:
type: boolean
label: 'Disable back button'
default_form_details_toggle:
type: boolean
label: 'Display collapse/expand all details link'
default_wizard_prev_button_label:
type: label
label: 'Default wizard previous page button label'
default_wizard_next_button_label:
type: label
label: 'Default wizard next page button label'
default_wizard_start_label:
type: label
label: 'Default wizard start label'
default_wizard_complete_label:
type: label
label: 'Default wizard complete label'
default_preview_next_button_label:
type: label
label: 'Default preview button label'
default_preview_prev_button_label:
type: label
label: 'Default preview previous page button label'
default_preview_message:
type: text
label: 'Default preview message'
default_draft_button_label:
type: label
label: 'Default draft button label'
default_draft_saved_message:
type: text
label: 'Default draft save message'
default_draft_loaded_message:
type: text
label: 'Default draft load message'
default_confirmation_message:
type: text
label: 'Default confirmation message'
default_confirmation_back_label:
type: text
label: 'Default confirmation back label'
default_limit_total_message:
type: text
label: 'Default limit total message'
default_limit_user_message:
type: text
label: 'Default limit user message'
form_classes:
type: string
label: 'Webform CSS classes'
button_classes:
type: string
label: 'Button CSS classes'
confirmation_classes:
type: string
label: 'Confirmation CSS classes'
confirmation_back_classes:
type: string
label: 'Confirmation back link CSS classes'
assets:
type: mapping
label: 'Global Assets (CSS/JavaScript)'
mapping:
css:
type: string
label: 'CSS (Cascading Style Sheets)'
javascript:
type: string
label: 'JavaScript'
elements:
type: mapping
label: 'Elements default settings'
mapping:
allowed_tags:
type: string
label: 'Allowed tags'
wrapper_classes:
type: string
label: 'Wrapper CSS classes'
classes:
type: string
label: 'Element CSS classes'
default_description_display:
type: string
label: 'Default title display'
default_google_maps_api_key:
type: string
label: 'Default Google Maps API key'
excluded_types:
type: ignore
label: 'Excluded types'
file:
type: mapping
label: 'File upload default settings'
mapping:
file_public:
type: boolean
label: 'Allow files to be uploaded to public file system.'
default_max_filesize:
type: string
label: 'Default maximum upload size'
default_managed_file_extensions:
type: string
label: 'Default allowed managed file extensions'
default_image_file_extensions:
type: string
label: 'Default allowed image file extensions'
default_video_file_extensions:
type: string
label: 'Default allowed video file extensions'
default_audio_file_extensions:
type: string
label: 'Default allowed audio file extensions'
default_document_file_extensions:
type: string
label: 'Default allowed document file extensions'
format:
type: ignore
label: 'Format default settings'
mail:
type: mapping
label: 'Email default settings'
mapping:
default_from_mail:
type: email
label: 'Default email from address'
default_from_name:
type: label
label: 'Default email from name'
default_subject:
type: label
label: 'Default email subject'
default_body_text:
type: text
label: 'Default email body (Plain text)'
default_body_html:
type: text
label: 'Default email body (HTML)'
export:
type: mapping
label: 'Export default settings'
mapping:
exporter:
type: string
label: 'Results exporter'
delimiter:
type: string
label: 'Delimiter text format'
multiple_delimiter:
type: string
label: 'Element multiple values delimiter'
excel:
type: boolean
label: 'Open HTML table in Excel'
file_name:
type: string
label: 'File name'
header_format:
type: string
label: 'Column header format'
header_prefix:
type: boolean
label: 'Column header prefix'
header_prefix_key_delimiter:
type: string
label: 'Column header prefix key delimiter'
header_prefix_label_delimiter:
type: string
label: 'Column header prefix label delimiter'
entity_reference_format:
type: string
label: 'Options format'
options_format:
type: string
label: 'Options item format'
options_item_format:
type: string
label: 'Entity reference format'
likert_answers_format:
type: string
label: 'Likert answers format'
signature_format:
type: string
label: 'Signature format'
composite_element_item_format:
type: string
label: 'Composite element item format'
batch:
type: mapping
label: 'Batch settings'
mapping:
default_batch_export_size:
type: integer
label: 'Batch export size'
default_batch_update_size:
type: integer
label: 'Batch update size'
default_batch_delete_size:
type: integer
label: 'Batch delete size'
purge_settings:
type: mapping
label: 'Automated purging settings'
mapping:
cron_size:
type: integer
label: 'Amount of submissions to process'
test:
type: mapping
label: 'Test settings'
mapping:
types:
type: text
label: 'Test types'
names:
type: text
label: 'Test names'
ui:
type: mapping
label: 'User interface settings'
mapping:
video_display:
type: string
label: 'Video display'
dialog_disabled:
type: boolean
label: 'Disable dialogs'
offcanvas_disabled:
type: boolean
label: 'Disable system tray'
html_editor_disabled:
type: boolean
label: 'Disable HTML editor'
details_save:
type: boolean
label: 'Save details open/close state'
library:
type: mapping
label: 'Library settings'
mapping:
cdn:
type: boolean
label: 'Use CDN'
third_party_settings:
type: sequence
label: 'Third party settings'
sequence:
type: webform.admin_settings.third_party.[%key]
webform.webform.*:
type: config_entity
label: 'Webforms'
mapping:
status:
type: string
label: 'Status'
open:
type: string
label: 'Open date/time'
close:
type: string
label: 'Close date/time'
uid:
type: integer
label: 'Author'
template:
type: boolean
label: 'Template'
id:
type: string
label: 'Machine name'
title:
type: label
label: 'Title'
description:
type: label
label: 'Administrative description'
elements:
type: text
label: 'Elements (YAML)'
css:
type: string
label: 'CSS (Cascading Style Sheets)'
javascript:
type: string
label: 'JavaScript'
settings:
type: mapping
label: 'Settings'
mapping:
page:
type: boolean
label: 'Enable page'
page_submit_path:
type: string
label: 'Page submit URL alias'
page_confirm_path:
type: string
label: 'Page confirm URL alias'
form_submit_label:
type: label
label: 'Webform submit text'
form_submit_once:
type: boolean
label: 'Prevent duplicate submissions'
form_submit_attributes:
type: ignore
label: 'Webform submit attributes'
form_closed_message:
type: text
label: 'Webform closed message'
form_exception_message:
type: text
label: 'Webform exception message'
form_previous_submissions:
type: boolean
label: 'Webform previous submissions notification'
form_confidential:
type: boolean
label: 'Webform confidential'
form_confidential_message:
type: text
label: 'Webform confidential message'
form_prepopulate:
type: boolean
label: 'Webform prepopulate elements'
form_prepopulate_source_entity:
type: boolean
label: 'Webform prepopulate source entity'
form_unsaved:
type: boolean
label: 'Warn users about unsaved changes'
form_disable_back:
type: boolean
label: 'Disable back button'
form_disable_autocomplete:
type: boolean
label: 'Disable autocompletion'
form_novalidate:
type: boolean
label: 'Disable client-side validation'
form_autofocus:
type: boolean
label: 'Autofocus'
form_details_toggle:
type: boolean
label: 'Display collapse/expand all details link'
wizard_progress_bar:
type: boolean
label: 'Show wizard progress bar'
wizard_progress_pages:
type: boolean
label: 'Show wizard progress pages'
wizard_progress_percentage:
type: boolean
label: 'Show wizard progress pages'
wizard_start_label:
type: label
label: 'Wizard start label'
wizard_start_attributes:
type: ignore
label: 'Wizard start attributes'
wizard_complete:
type: boolean
label: 'Include confirmation page in progress'
wizard_complete_label:
type: label
label: 'Wizard complete label'
wizard_prev_button_label:
type: label
label: 'Wizard previous page button label'
wizard_prev_button_attributes:
type: ignore
label: 'Wizard previous page button attributes'
wizard_next_button_label:
type: label
label: 'Wizard next page button label'
wizard_next_button_attributes:
type: ignore
label: 'Wizard next page button attributes'
preview:
type: integer
label: 'Enable preview page'
preview_next_button_label:
type: label
label: 'Preview button label'
preview_next_button_attributes:
type: ignore
label: 'Preview button attributes'
preview_prev_button_label:
type: label
label: 'Previous page button label'
preview_prev_button_attributes:
type: ignore
label: 'Previous page button attributes'
preview_message:
type: text
label: 'Preview message'
draft:
type: boolean
label: 'Allow your users to save and finish the webform later.'
draft_auto_save:
type: boolean
label: 'Automatically save as draft when previewing and when there are validation errors.'
draft_button_label:
type: label
label: 'Draft button label'
draft_button_attributes:
type: ignore
label: 'Draft button attributes'
draft_saved_message:
type: text
label: 'Draft saved message'
draft_loaded_message:
type: text
label: 'Draft loaded message'
confirmation_type:
type: string
label: 'Confirmation type'
confirmation_url:
type: string
label: 'Confirmation URL'
confirmation_title:
type: text
label: 'Confirmation title'
confirmation_message:
type: text
label: 'Confirmation message'
confirmation_attributes:
type: ignore
label: 'Confirmation attributes'
confirmation_back:
type: boolean
label: 'Display back to webform link.'
confirmation_back_label:
type: text
label: 'Confirmation back link label'
confirmation_back_attributes:
type: ignore
label: 'Confirmation back link attributes'
limit_total:
type: integer
label: 'Limit total submissions'
limit_total_message:
type: text
label: 'Limit total message'
limit_user:
type: integer
label: 'Limit user submissions'
limit_user_message:
type: text
label: 'Limit user message'
purge:
type: string
label: 'Default purging'
purge_days:
type: integer
label: 'Default days to retain submissions'
entity_limit_total:
type: integer
label: 'Entity limit total submissions'
entity_limit_user:
type: integer
label: 'Entity limit user submissions'
results_disabled:
type: boolean
label: 'Results disabled'
results_disabled_ignore:
type: boolean
label: 'Ignore disabled results warning'
token_update:
type: boolean
label: 'Allow updates using token'
access:
type: mapping
label: 'Access'
mapping:
create:
type: mapping
label: 'Create webform submissions'
mapping:
roles:
type: sequence
label: 'Roles'
sequence:
type: string
label: 'Role'
users:
type: sequence
label: 'Users'
sequence:
type: integer
label: 'User IDs'
view_any:
type: mapping
label: 'View any webform submissions'
mapping:
roles:
type: sequence
label: 'Roles'
sequence:
type: string
label: 'Role'
users:
type: sequence
label: 'Users'
sequence:
type: integer
label: 'User IDs'
update_any:
type: mapping
label: 'Update any webform submissions'
mapping:
roles:
type: sequence
label: 'Roles'
sequence:
type: string
label: 'Role'
users:
type: sequence
label: 'Users'
sequence:
type: integer
label: 'User IDs'
delete_any:
type: mapping
label: 'Delete any webform submissions'
mapping:
roles:
type: sequence
label: 'Roles'
sequence:
type: string
label: 'Role'
users:
type: sequence
label: 'Users'
sequence:
type: integer
label: 'User IDs'
purge_any:
type: mapping
label: 'Purge any webform submissions'
mapping:
roles:
type: sequence
label: 'Roles'
sequence:
type: string
label: 'Role'
users:
type: sequence
label: 'Users'
sequence:
type: integer
label: 'User IDs'
view_own:
type: mapping
label: 'View own webform submissions'
mapping:
roles:
type: sequence
label: 'Roles'
sequence:
type: string
label: 'Role'
users:
type: sequence
label: 'Users'
sequence:
type: integer
label: 'User IDs'
update_own:
type: mapping
label: 'Update own webform submissions'
mapping:
roles:
type: sequence
label: 'Roles'
sequence:
type: string
label: 'Role'
users:
type: sequence
label: 'Users'
sequence:
type: integer
label: 'User IDs'
delete_own:
type: mapping
label: 'Delete own webform submissions'
mapping:
roles:
type: sequence
label: 'Roles'
sequence:
type: string
label: 'Role'
users:
type: sequence
label: 'Users'
sequence:
type: integer
label: 'User IDs'
handlers:
type: sequence
label: 'Webform handlers'
sequence:
type: mapping
mapping:
id:
type: string
handler_id:
type: string
label:
type: label
status:
type: boolean
weight:
type: integer
settings:
type: webform.handler.[%parent.id]
third_party_settings:
type: sequence
label: 'Third party settings'
sequence:
type: webform.settings.third_party.[%key]
webform.handler.*:
type: mapping
label: 'Handler settings'
webform.handler.email:
type: mapping
label: 'Email'
mapping:
to_mail:
label: 'Email to address'
type: email
bcc_mail:
label: 'Email Bcc address'
type: email
cc_mail:
label: 'Email Cc address'
type: email
from_mail:
label: 'Email from address'
type: email
from_name:
label: 'Email from name'
type: label
subject:
label: 'Email subject'
type: label
body:
label: 'Email body'
type: text
excluded_elements:
type: sequence
label: 'Exclude elements'
sequence:
type: string
label: 'Element name'
html:
type: boolean
label: 'HTML'
attachments:
type: boolean
label: 'Attachments'
debug:
type: boolean
label: 'Enable debugging'
webform.handler.remote_post:
type: mapping
label: 'Remote Post'
mapping:
type:
label: 'Type'
type: string
insert_url:
label: 'Insert URL'
type: uri
update_url:
label: 'Update URL'
type: uri
delete_url:
label: 'Delete URL'
type: uri
excluded_data:
type: sequence
label: 'Excluded data'
sequence:
type: string
label: 'Data name'
custom_data:
label: 'Custom data'
type: string
insert_custom_data:
label: 'Insert custom data'
type: string
update_custom_data:
label: 'Update custom data'
type: string
delete_custom_data:
label: 'Delete custom data'
type: string
debug:
type: boolean
label: 'Enable debugging'
webform.exporter.*:
type: mapping
label: 'Exporter settings'
webform.exporter.delimited_text:
type: mapping
label: 'Delimiter'
mapping:
delimiter:
type: string
label: 'Delimiter'
webform.webform_options.*:
type: config_entity
label: 'Options'
mapping:
id:
type: string
label: 'Machine name'
label:
type: label
label: 'Label'
options:
type: text
label: 'Options (YAML)'
block.settings.webform_block:
type: block_settings
label: 'Webforms block'
mapping:
webform_id:
type: text
label: 'Webforms'
default_data:
type: text
label: 'Default webform submission data'
# Schema for the configuration of the webform field type.
field.storage_settings.webform:
type: mapping
label: 'Webform field storage settings'
mapping:
target_type:
type: string
label: 'Type of item to reference'
base_webform_field_field_settings:
type: mapping
mapping:
handler:
type: string
label: 'Reference method'
handler_settings:
type: entity_reference_selection.[%parent.handler]
label: 'Entity reference selection settings'
field.field_settings.webform:
type: base_webform_field_field_settings
label: 'Webform settings'
mapping:
default_data:
type: string
label: 'Default webform submission data'
status:
type: boolean
label: 'Status of the webform'
field.widget.settings.webform_entity_reference_autocomplete:
type: mapping
label: 'Webform autocomplete display format settings'
mapping:
match_operator:
type: string
label: 'Autocomplete matching'
size:
type: integer
label: 'Size of textfield'
placeholder:
type: label
label: 'Placeholder'
field.formatter.settings.webform_entity_reference_entity_view:
type: mapping
label: 'Display the referenced webform with default submission data.'
field.formatter.settings.webform_entity_reference_link:
type: mapping
label: 'Display the referenced webform as a link.'
mapping:
label:
type: label
label: 'Link label to the referenced webform'
action.configuration.webform_submission_delete_action:
type: action_configuration_default
label: 'Delete submission configuration'
action.configuration.webform_submission_make_sticky_action:
type: action_configuration_default
label: 'Star/Flag selected submission configuration'
action.configuration.webform_submission_make_unsticky_action:
type: action_configuration_default
label: 'Unstar/Unflag selected submission configuration'
condition.plugin.webform:
type: condition.plugin
mapping:
webforms:
type: sequence
sequence:
type: string

View file

@ -0,0 +1,3 @@
views.field.webform_submission_bulk_form:
type: views_field_bulk_form
label: 'Webform submission bulk form'