You are here

webform.entity.webform.schema.yml in Webform 6.x

Same filename and directory in other branches
  1. 8.5 config/schema/webform.entity.webform.schema.yml
config/schema/webform.entity.webform.schema.yml

File

config/schema/webform.entity.webform.schema.yml
View source
  1. 'webform.webform.*':
  2. type: config_entity
  3. label: Webforms
  4. mapping:
  5. status:
  6. type: string
  7. label: Status
  8. weight:
  9. type: integer
  10. label: Weight
  11. open:
  12. type: string
  13. label: 'Open date/time'
  14. close:
  15. type: string
  16. label: 'Close date/time'
  17. uid:
  18. type: integer
  19. label: Author
  20. template:
  21. type: boolean
  22. label: Template
  23. archive:
  24. type: boolean
  25. label: Archive
  26. id:
  27. type: string
  28. label: 'Machine name'
  29. title:
  30. type: label
  31. label: Title
  32. description:
  33. type: text
  34. label: 'Administrative description'
  35. webform_type: html
  36. category:
  37. type: label
  38. label: Category
  39. elements:
  40. type: text
  41. label: 'Elements (YAML)'
  42. css:
  43. type: string
  44. label: 'CSS (Cascading Style Sheets)'
  45. javascript:
  46. type: string
  47. label: JavaScript
  48. settings:
  49. type: mapping
  50. label: Settings
  51. mapping:
  52. ajax:
  53. type: boolean
  54. label: 'Use Ajax'
  55. ajax_scroll_top:
  56. type: string
  57. label: 'Ajax scroll top'
  58. ajax_progress_type:
  59. type: string
  60. label: 'Ajax progress type'
  61. ajax_effect:
  62. type: string
  63. label: 'Ajax effect'
  64. ajax_speed:
  65. type: integer
  66. label: 'Ajax speed'
  67. page:
  68. type: boolean
  69. label: 'Enable page'
  70. page_submit_path:
  71. type: string
  72. label: 'Page submit URL alias'
  73. page_confirm_path:
  74. type: string
  75. label: 'Page confirm URL alias'
  76. page_theme_name:
  77. type: string
  78. label: 'Page theme'
  79. form_title:
  80. type: string
  81. label: 'Form title display'
  82. form_submit_once:
  83. type: boolean
  84. label: 'Prevent duplicate submissions'
  85. form_open_message:
  86. type: text
  87. label: 'Form open message'
  88. webform_type: html
  89. form_close_message:
  90. type: text
  91. label: 'Form closed message'
  92. webform_type: html
  93. form_exception_message:
  94. type: text
  95. label: 'Form exception message'
  96. webform_type: html
  97. form_previous_submissions:
  98. type: boolean
  99. label: 'Form previous submissions notification'
  100. form_confidential:
  101. type: boolean
  102. label: 'Form confidential'
  103. form_confidential_message:
  104. type: text
  105. label: 'Form confidential message'
  106. webform_type: html
  107. form_disable_remote_addr:
  108. type: boolean
  109. label: 'Do not track user IP address'
  110. form_convert_anonymous:
  111. type: boolean
  112. label: 'Convert anonymous drafts and submissions to authenticated'
  113. form_prepopulate:
  114. type: boolean
  115. label: 'Form prepopulate elements'
  116. form_prepopulate_source_entity:
  117. type: boolean
  118. label: 'Form prepopulate source entity'
  119. form_prepopulate_source_entity_required:
  120. type: boolean
  121. label: 'Form prepopulate source entity required'
  122. form_prepopulate_source_entity_type:
  123. type: string
  124. label: 'Form prepopulate source entity type'
  125. form_unsaved:
  126. type: boolean
  127. label: 'Warn users about unsaved changes'
  128. form_disable_back:
  129. type: boolean
  130. label: 'Disable back button'
  131. form_submit_back:
  132. type: boolean
  133. label: 'Submit previous wizard page when browser back button is clicked'
  134. form_disable_autocomplete:
  135. type: boolean
  136. label: 'Disable autocompletion'
  137. form_novalidate:
  138. type: boolean
  139. label: 'Disable client-side validation'
  140. form_disable_inline_errors:
  141. type: boolean
  142. label: 'Disable inline form errors'
  143. form_required:
  144. type: boolean
  145. label: 'Display required indicator'
  146. form_autofocus:
  147. type: boolean
  148. label: Autofocus
  149. form_details_toggle:
  150. type: boolean
  151. label: 'Display collapse/expand all details link'
  152. form_reset:
  153. type: boolean
  154. label: 'Display reset button'
  155. form_access_denied:
  156. type: string
  157. label: 'Form access denied action'
  158. form_access_denied_title:
  159. type: label
  160. label: 'Form access denied title'
  161. form_access_denied_message:
  162. type: text
  163. label: 'Form access denied message'
  164. webform_type: html
  165. form_access_denied_attributes:
  166. type: ignore
  167. label: 'Form access denied message attributes'
  168. form_file_limit:
  169. type: string
  170. label: 'Form file upload limit'
  171. form_elements_attributes:
  172. type: ignore
  173. label: 'Form elements attributes'
  174. share:
  175. type: boolean
  176. label: 'Enable form sharing'
  177. share_node:
  178. type: boolean
  179. label: 'Enable form sharing for webform nodes'
  180. share_theme_name:
  181. type: string
  182. label: 'Shared form theme'
  183. share_title:
  184. type: boolean
  185. label: 'Display shared form title'
  186. share_page_body_attributes:
  187. type: ignore
  188. label: 'Shared form page attributes'
  189. submission_label:
  190. type: label
  191. label: 'Default submission label'
  192. submission_exception_message:
  193. type: text
  194. label: 'Submission exception message'
  195. webform_type: html
  196. submission_locked_message:
  197. type: text
  198. label: 'Submission locked message'
  199. webform_type: html
  200. submission_log:
  201. type: boolean
  202. label: 'Submission logging'
  203. submission_excluded_elements:
  204. type: sequence
  205. label: 'Submission excluded elements'
  206. sequence:
  207. type: string
  208. label: 'Element key'
  209. submission_exclude_empty:
  210. type: boolean
  211. label: 'Submission exclude empty elements'
  212. submission_exclude_empty_checkbox:
  213. type: boolean
  214. label: 'Submission exclude unselected checkboxes'
  215. submission_views:
  216. type: sequence
  217. label: 'Submission views'
  218. sequence:
  219. type: mapping
  220. label: 'Submission view'
  221. mapping:
  222. title:
  223. type: text
  224. label: Title
  225. view:
  226. type: string
  227. label: 'View name / Display ID'
  228. webform_routes:
  229. type: sequence
  230. label: 'Apply to webform'
  231. sequence:
  232. type: string
  233. label: Route
  234. node_routes:
  235. type: sequence
  236. label: 'Apply to node'
  237. sequence:
  238. type: string
  239. label: Route
  240. submission_views_replace:
  241. type: mapping
  242. label: 'Submission view replace'
  243. mapping:
  244. global_routes:
  245. type: sequence
  246. label: 'Replace to global'
  247. sequence:
  248. type: string
  249. label: Route
  250. webform_routes:
  251. type: sequence
  252. label: 'Replace to webform'
  253. sequence:
  254. type: string
  255. label: Route
  256. node_routes:
  257. type: sequence
  258. label: 'Replace to node'
  259. sequence:
  260. type: string
  261. label: Route
  262. submission_user_columns:
  263. type: sequence
  264. label: 'Submission user columns'
  265. sequence:
  266. type: string
  267. label: 'Column name'
  268. submission_user_duplicate:
  269. type: boolean
  270. label: 'Submission user duplicate'
  271. submission_access_denied:
  272. type: string
  273. label: 'Submission access denied action'
  274. submission_access_denied_title:
  275. type: label
  276. label: 'Submission access denied title'
  277. submission_access_denied_message:
  278. type: text
  279. label: 'Submission access denied message'
  280. webform_type: html
  281. submission_access_denied_attributes:
  282. type: ignore
  283. label: 'Submission access denied message attributes'
  284. previous_submission_message:
  285. type: text
  286. label: 'Previous submission message'
  287. webform_type: html
  288. previous_submissions_message:
  289. type: text
  290. label: 'Previous submissions message'
  291. webform_type: html
  292. autofill:
  293. type: boolean
  294. label: 'Autofill with previous submission'
  295. autofill_message:
  296. type: text
  297. label: 'Autofill with previous submission message'
  298. webform_type: html
  299. autofill_excluded_elements:
  300. type: sequence
  301. label: 'Autofill excluded elements'
  302. sequence:
  303. type: string
  304. label: 'Element key'
  305. wizard_progress_bar:
  306. type: boolean
  307. label: 'Show wizard progress bar'
  308. wizard_progress_pages:
  309. type: boolean
  310. label: 'Show wizard progress pages'
  311. wizard_progress_percentage:
  312. type: boolean
  313. label: 'Show wizard progress pages'
  314. wizard_progress_link:
  315. type: boolean
  316. label: 'Link to previous pages in progress bar'
  317. wizard_progress_states:
  318. type: boolean
  319. label: 'Update wizard progress bar''s pages based on conditions'
  320. wizard_start_label:
  321. type: label
  322. label: 'Wizard start label'
  323. wizard_start_attributes:
  324. type: ignore
  325. label: 'Wizard start attributes'
  326. wizard_preview_link:
  327. type: boolean
  328. label: 'Link to previous pages in preview'
  329. wizard_confirmation:
  330. type: boolean
  331. label: 'Include confirmation page in progress'
  332. wizard_confirmation_label:
  333. type: label
  334. label: 'Wizard confirmation label'
  335. wizard_auto_forward:
  336. type: boolean
  337. label: 'Auto-forward to next page when the page is completed'
  338. wizard_auto_forward_hide_next_button:
  339. type: boolean
  340. label: 'Hide the next button when auto-forwarding'
  341. wizard_keyboard:
  342. type: boolean
  343. label: 'Navigate between cards when the left or right arrow is pressed'
  344. wizard_track:
  345. type: string
  346. label: 'Track wizard progress in the URL'
  347. wizard_prev_button_label:
  348. type: label
  349. label: 'Wizard previous page button label'
  350. wizard_next_button_label:
  351. type: label
  352. label: 'Wizard next page button label'
  353. wizard_toggle:
  354. type: boolean
  355. label: 'Display show/hide all elements link'
  356. wizard_toggle_show_label:
  357. type: label
  358. label: 'Default wizard show all elements label'
  359. wizard_toggle_hide_label:
  360. type: label
  361. label: 'Default wizard hide all elements label'
  362. preview:
  363. type: integer
  364. label: 'Enable preview page'
  365. preview_label:
  366. type: label
  367. label: 'Preview label'
  368. preview_title:
  369. type: label
  370. label: 'Preview page title'
  371. preview_message:
  372. type: text
  373. label: 'Preview message'
  374. webform_type: html
  375. preview_attributes:
  376. type: ignore
  377. label: 'Preview attributes'
  378. preview_excluded_elements:
  379. type: sequence
  380. label: 'Preview excluded elements'
  381. sequence:
  382. type: string
  383. label: 'Element key'
  384. preview_exclude_empty:
  385. type: boolean
  386. label: 'Preview exclude empty elements'
  387. preview_exclude_empty_checkbox:
  388. type: boolean
  389. label: 'Preview exclude unselected checkboxes'
  390. draft:
  391. type: string
  392. label: 'Allow users to save and finish the webform later.'
  393. draft_multiple:
  394. type: boolean
  395. label: 'Allow users to save multiple drafts'
  396. draft_auto_save:
  397. type: boolean
  398. label: 'Automatically save as draft when previewing and when there are validation errors.'
  399. draft_saved_message:
  400. type: text
  401. label: 'Draft saved message'
  402. webform_type: html
  403. draft_loaded_message:
  404. type: text
  405. label: 'Draft loaded message'
  406. webform_type: html
  407. draft_pending_single_message:
  408. type: text
  409. label: 'Draft pending single draft message'
  410. webform_type: html
  411. draft_pending_multiple_message:
  412. type: text
  413. label: 'Draft pending multiple drafts message'
  414. webform_type: html
  415. confirmation_type:
  416. type: string
  417. label: 'Confirmation type'
  418. confirmation_url:
  419. type: label
  420. label: 'Confirmation URL'
  421. confirmation_title:
  422. type: label
  423. label: 'Confirmation title'
  424. confirmation_message:
  425. type: text
  426. label: 'Confirmation message'
  427. webform_type: html
  428. confirmation_attributes:
  429. type: ignore
  430. label: 'Confirmation attributes'
  431. confirmation_back:
  432. type: boolean
  433. label: 'Display back to webform link.'
  434. confirmation_back_label:
  435. type: text
  436. label: 'Confirmation back link label'
  437. confirmation_back_attributes:
  438. type: ignore
  439. label: 'Confirmation back link attributes'
  440. confirmation_exclude_query:
  441. type: boolean
  442. label: 'Exclude query string from confirmation URL'
  443. confirmation_exclude_token:
  444. type: boolean
  445. label: 'Exclude token from confirmation URL'
  446. confirmation_update:
  447. type: boolean
  448. label: 'Display confirmation when submission is updated'
  449. limit_total:
  450. type: integer
  451. label: 'Limit total submissions'
  452. limit_total_interval:
  453. type: integer
  454. label: 'Limit total interval'
  455. limit_total_message:
  456. type: text
  457. label: 'Limit total message'
  458. webform_type: html
  459. limit_total_unique:
  460. type: boolean
  461. label: 'Limit total to one submission per source entity'
  462. limit_user:
  463. type: integer
  464. label: 'Limit user submissions'
  465. limit_user_interval:
  466. type: integer
  467. label: 'Limit user interval'
  468. limit_user_message:
  469. type: text
  470. label: 'Limit user message'
  471. webform_type: html
  472. limit_user_unique:
  473. type: boolean
  474. label: 'Limit user to one submission per source entity'
  475. entity_limit_total:
  476. type: integer
  477. label: 'Entity limit total submissions'
  478. entity_limit_total_interval:
  479. type: integer
  480. label: 'Entity limit total interval'
  481. entity_limit_user:
  482. type: integer
  483. label: 'Entity limit user submissions'
  484. entity_limit_user_interval:
  485. type: integer
  486. label: 'Entity limit user interval'
  487. purge:
  488. type: string
  489. label: 'Default purging'
  490. purge_days:
  491. type: integer
  492. label: 'Default days to retain submissions'
  493. results_disabled:
  494. type: boolean
  495. label: 'Results disabled'
  496. results_disabled_ignore:
  497. type: boolean
  498. label: 'Ignore disabled results warning'
  499. results_customize:
  500. type: boolean
  501. label: 'Allow users to customize the results'
  502. token_view:
  503. type: boolean
  504. label: 'Allow viewing a submission using token'
  505. token_update:
  506. type: boolean
  507. label: 'Allow updating a submission using token'
  508. token_delete:
  509. type: boolean
  510. label: 'Allow deleting a submission using token'
  511. serial_disabled:
  512. type: boolean
  513. label: 'Next submission number disabled'
  514. access:
  515. type: sequence
  516. label: 'Access Rules'
  517. sequence:
  518. type: mapping
  519. label: 'Access Rule'
  520. mapping:
  521. roles:
  522. type: sequence
  523. label: Roles
  524. sequence:
  525. type: string
  526. label: Role
  527. users:
  528. type: sequence
  529. label: Users
  530. sequence:
  531. type: integer
  532. label: 'User IDs'
  533. permissions:
  534. type: sequence
  535. label: Permissions
  536. sequence:
  537. type: string
  538. label: Permission
  539. handlers:
  540. type: sequence
  541. label: 'Webform handlers'
  542. sequence:
  543. type: mapping
  544. mapping:
  545. id:
  546. type: string
  547. label: 'Handle plugin ID'
  548. handler_id:
  549. type: string
  550. label: 'Handler instance ID'
  551. label:
  552. type: label
  553. label: Label
  554. notes:
  555. type: text
  556. label: Notes
  557. status:
  558. type: boolean
  559. label: Status
  560. conditions:
  561. type: ignore
  562. label: 'Conditional logic'
  563. weight:
  564. type: integer
  565. label: Weight
  566. settings:
  567. type: 'webform.handler.[%parent.id]'
  568. variants:
  569. type: sequence
  570. label: 'Webform variants'
  571. sequence:
  572. type: mapping
  573. mapping:
  574. id:
  575. type: string
  576. label: 'Variant plugin ID'
  577. variant_id:
  578. type: string
  579. label: 'Variant instance ID'
  580. element_key:
  581. type: string
  582. label: 'Variant element key'
  583. label:
  584. type: label
  585. label: Label
  586. notes:
  587. type: text
  588. label: Notes
  589. status:
  590. type: boolean
  591. label: Status
  592. weight:
  593. type: integer
  594. label: Weight
  595. settings:
  596. type: 'webform.variant.[%parent.id]'
  597. third_party_settings:
  598. type: sequence
  599. label: 'Third party settings'
  600. sequence:
  601. type: 'webform.settings.third_party.[%key]'