You are here

yamlform.yamlform.test_element_other.yml in YAML Form 8

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

File

tests/modules/yamlform_test/config/install/yamlform.yamlform.test_element_other.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_other
  12. title: 'Test: Element: Other'
  13. description: 'Test the form other elements, includes select_other, checkboxes_other, radios_other, and buttons_other.'
  14. elements: |
  15. select_other:
  16. '#type': details
  17. '#title': 'Select other (select_other)'
  18. '#open': true
  19. select_other_basic:
  20. '#type': select_other
  21. '#title': 'Select other basic'
  22. '#options':
  23. One: One
  24. 'Option Group':
  25. Two: Two
  26. Three: Three
  27. '#default_value': Four
  28. select_other_advanced:
  29. '#type': select_other
  30. '#title': 'Select other advanced'
  31. '#default_value': Four
  32. '#options':
  33. One: One
  34. 'Option Group':
  35. Two: Two
  36. Three: Three
  37. '#empty_option': Select...
  38. '#other__option_label': 'Is there another option you wish to enter?'
  39. '#other__title': 'Other'
  40. '#other__placeholder': 'What is this other option'
  41. '#other__description': 'Other select description'
  42. '#other__size': 20
  43. '#other__maxlength': 20
  44. '#required': true
  45. select_other_multiple:
  46. '#type': select_other
  47. '#title': 'Select other multiple'
  48. '#multiple': true
  49. '#options':
  50. One: One
  51. 'Option Group':
  52. Two: Two
  53. Three: Three
  54. '#default_value':
  55. - One
  56. - Two
  57. - Four
  58. checkboxes_other:
  59. '#type': details
  60. '#title': 'Checkboxes other (checkboxes_other)'
  61. '#open': true
  62. checkboxes_other_basic:
  63. '#type': checkboxes_other
  64. '#title': 'Checkboxes other basic'
  65. '#options':
  66. One: One
  67. Two: Two
  68. Three: Three
  69. '#default_value':
  70. - One
  71. - Two
  72. - Four
  73. checkboxes_other_advanced:
  74. '#type': checkboxes_other
  75. '#title': 'Checkboxes other advanced'
  76. '#options':
  77. One: One
  78. Two: Two
  79. Three: Three
  80. '#default_value':
  81. - One
  82. - Two
  83. - Four
  84. '#required': true
  85. '#options_display': two_columns
  86. '#other__option_label': 'Is there another option you wish to enter?'
  87. '#other__placeholder': 'What is this other option'
  88. '#other__description': 'Other checkbox description'
  89. radios_other:
  90. '#type': details
  91. '#title': 'Radios other (radios_other)'
  92. '#open': true
  93. radios_other_basic:
  94. '#type': radios_other
  95. '#title': 'Radios other basic'
  96. '#options':
  97. One: One
  98. Two: Two
  99. Three: Three
  100. '#default_value': Four
  101. radios_other_advanced:
  102. '#type': radios_other
  103. '#title': 'Radios other advanced'
  104. '#options':
  105. One: One
  106. Two: Two
  107. Three: Three
  108. '#default_value': Four
  109. '#required': true
  110. '#options_display': two_columns
  111. '#other__option_label': 'Is there another option you wish to enter?'
  112. '#other__placeholder': 'What is this other option'
  113. '#other__description': 'Other radio description'
  114. buttons_other:
  115. '#type': details
  116. '#title': 'Buttons other (buttons_other)'
  117. '#open': true
  118. buttons_other_basic:
  119. '#type': buttons_other
  120. '#title': 'Buttons other basic'
  121. '#options':
  122. One: One
  123. Two: Two
  124. Three: Three
  125. '#default_value': Four
  126. buttons_other_advanced:
  127. '#type': buttons_other
  128. '#title': 'Buttons other advanced'
  129. '#options':
  130. One: One
  131. Two: Two
  132. Three: Three
  133. '#default_value': Four
  134. '#required': true
  135. '#other__option_label': 'Other'
  136. '#other__placeholder': 'What is this other option'
  137. '#other__description': 'Other button description'
  138. css: ''
  139. javascript: ''
  140. settings:
  141. page: true
  142. page_submit_path: ''
  143. page_confirm_path: ''
  144. form_submit_label: ''
  145. form_submit_attributes: { }
  146. form_exception_message: ''
  147. form_closed_message: ''
  148. form_confidential: false
  149. form_confidential_message: ''
  150. form_prepopulate: false
  151. form_prepopulate_source_entity: false
  152. form_novalidate: false
  153. form_unsaved: false
  154. form_disable_back: false
  155. form_autofocus: false
  156. form_details_toggle: false
  157. wizard_progress_bar: true
  158. wizard_progress_pages: false
  159. wizard_progress_percentage: false
  160. wizard_next_button_label: ''
  161. wizard_next_button_attributes: { }
  162. wizard_prev_button_label: ''
  163. wizard_prev_button_attributes: { }
  164. wizard_start_label: ''
  165. wizard_complete: true
  166. wizard_complete_label: ''
  167. preview: 0
  168. preview_next_button_label: ''
  169. preview_next_button_attributes: { }
  170. preview_prev_button_label: ''
  171. preview_prev_button_attributes: { }
  172. preview_message: ''
  173. draft: false
  174. draft_auto_save: false
  175. draft_button_label: ''
  176. draft_button_attributes: { }
  177. draft_saved_message: ''
  178. draft_loaded_message: ''
  179. confirmation_type: message
  180. confirmation_message: ''
  181. confirmation_url: ''
  182. confirmation_attributes: { }
  183. confirmation_back: true
  184. confirmation_back_label: ''
  185. confirmation_back_attributes: { }
  186. limit_total: null
  187. limit_total_message: ''
  188. limit_user: null
  189. limit_user_message: ''
  190. entity_limit_total: null
  191. entity_limit_user: null
  192. results_disabled: true
  193. results_disabled_ignore: false
  194. token_update: false
  195. access:
  196. create:
  197. roles:
  198. - anonymous
  199. - authenticated
  200. users: { }
  201. view_any:
  202. roles: { }
  203. users: { }
  204. update_any:
  205. roles: { }
  206. users: { }
  207. delete_any:
  208. roles: { }
  209. users: { }
  210. purge_any:
  211. roles: { }
  212. users: { }
  213. view_own:
  214. roles: { }
  215. users: { }
  216. update_own:
  217. roles: { }
  218. users: { }
  219. delete_own:
  220. roles: { }
  221. users: { }
  222. handlers:
  223. debug:
  224. id: debug
  225. label: Debug
  226. handler_id: debug
  227. status: true
  228. weight: 1
  229. settings: { }