You are here

yamlform.yamlform.test_element_multiple.yml in YAML Form 8

tests/modules/yamlform_test/config/install/yamlform.yamlform.test_element_multiple.yml

File

tests/modules/yamlform_test/config/install/yamlform.yamlform.test_element_multiple.yml
View source
  1. langcode: en
  2. status: true
  3. dependencies:
  4. enforced:
  5. module:
  6. - yamlform_test
  7. module:
  8. - yamlform_test
  9. uid: null
  10. template: false
  11. id: test_element_multiple
  12. title: 'Test: Element: Multiple'
  13. description: 'Test multiple element.'
  14. elements: |
  15. yamlform_multiple_default:
  16. '#type': yamlform_multiple
  17. '#title': 'yamlform_multiple_default'
  18. '#default_value':
  19. - One
  20. - Two
  21. - Three
  22. yamlform_multiple_email_five:
  23. '#type': yamlform_multiple
  24. '#title': 'yamlform_multiple_email_five'
  25. '#cardinality': 5
  26. '#element':
  27. '#type': email
  28. '#title': 'Please enter an email address'
  29. '#title_display': 'invisible'
  30. '#placeholder': 'Enter email address'
  31. '#default_value':
  32. - example@example.com
  33. - test@test.com
  34. yamlform_multiple_name_composite:
  35. '#type': yamlform_multiple
  36. '#title': 'yamlform_multiple_name_composite'
  37. '#header': true
  38. '#element':
  39. '#type': yamlform_name
  40. '#default_value':
  41. - first: John
  42. last: Smith
  43. - first: Jane
  44. last: Doe
  45. yamlform_multiple_elements_name_item:
  46. '#type': yamlform_multiple
  47. '#title': yamlform_multiple_elements_name_item
  48. '#element':
  49. first_name:
  50. '#type': textfield
  51. '#title': first_name
  52. last_name:
  53. '#type': textfield
  54. '#title': last_name
  55. '#default_value':
  56. - first_name: John
  57. last_name: Smith
  58. - first_name: Jane
  59. last_name: Doe
  60. yamlform_multiple_elements_name_table:
  61. '#type': yamlform_multiple
  62. '#title': yamlform_multiple_elements_name_table
  63. '#header': true
  64. '#element':
  65. first_name:
  66. '#type': textfield
  67. '#title': first_name
  68. '#title_display': invisible
  69. '#placeholder': 'Enter first name'
  70. last_name:
  71. '#type': textfield
  72. '#title': last_name
  73. '#title_display': invisible
  74. '#placeholder': 'Enter last name'
  75. '#default_value':
  76. - first_name: John
  77. last_name: Smith
  78. - first_name: Jane
  79. last_name: Doe
  80. yamlform_multiple_options:
  81. '#type': yamlform_multiple
  82. '#title': yamlform_multiple_options
  83. '#header': true
  84. '#label': 'option'
  85. '#labels': 'options'
  86. '#element':
  87. value:
  88. '#type': textfield
  89. '#title': 'Option value'
  90. '#title_display': invisible
  91. '#placeholder': 'Enter value'
  92. text:
  93. '#type': textfield
  94. '#title': 'Option text'
  95. '#title_display': invisible
  96. '#placeholder': 'Enter text'
  97. '#default_value':
  98. - value: one
  99. text: One
  100. - value: two
  101. text: Two
  102. css: ''
  103. javascript: ''
  104. settings:
  105. page: true
  106. page_submit_path: ''
  107. page_confirm_path: ''
  108. form_submit_label: ''
  109. form_submit_attributes: { }
  110. form_exception_message: ''
  111. form_closed_message: ''
  112. form_confidential: false
  113. form_confidential_message: ''
  114. form_prepopulate: false
  115. form_prepopulate_source_entity: false
  116. form_novalidate: false
  117. form_unsaved: false
  118. form_disable_back: false
  119. form_autofocus: false
  120. form_details_toggle: false
  121. wizard_progress_bar: true
  122. wizard_progress_pages: false
  123. wizard_progress_percentage: false
  124. wizard_next_button_label: ''
  125. wizard_next_button_attributes: { }
  126. wizard_prev_button_label: ''
  127. wizard_prev_button_attributes: { }
  128. wizard_start_label: ''
  129. wizard_complete: true
  130. wizard_complete_label: ''
  131. preview: 0
  132. preview_next_button_label: ''
  133. preview_next_button_attributes: { }
  134. preview_prev_button_label: ''
  135. preview_prev_button_attributes: { }
  136. preview_message: ''
  137. draft: false
  138. draft_auto_save: false
  139. draft_button_label: ''
  140. draft_button_attributes: { }
  141. draft_saved_message: ''
  142. draft_loaded_message: ''
  143. confirmation_type: message
  144. confirmation_message: ''
  145. confirmation_url: ''
  146. confirmation_attributes: { }
  147. confirmation_back: true
  148. confirmation_back_label: ''
  149. confirmation_back_attributes: { }
  150. limit_total: null
  151. limit_total_message: ''
  152. limit_user: null
  153. limit_user_message: ''
  154. entity_limit_total: null
  155. entity_limit_user: null
  156. results_disabled: true
  157. results_disabled_ignore: false
  158. token_update: false
  159. access:
  160. create:
  161. roles:
  162. - anonymous
  163. - authenticated
  164. users: { }
  165. view_any:
  166. roles: { }
  167. users: { }
  168. update_any:
  169. roles: { }
  170. users: { }
  171. delete_any:
  172. roles: { }
  173. users: { }
  174. purge_any:
  175. roles: { }
  176. users: { }
  177. view_own:
  178. roles: { }
  179. users: { }
  180. update_own:
  181. roles: { }
  182. users: { }
  183. delete_own:
  184. roles: { }
  185. users: { }
  186. handlers:
  187. debug:
  188. id: debug
  189. label: Debug
  190. handler_id: debug
  191. status: true
  192. weight: 0
  193. settings: { }