You are here

webform.entity.webform.schema.yml in Webform 8.5

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