You are here

yamlform.yamlform.template_user_profile.yml in YAML Form 8

modules/yamlform_templates/config/install/yamlform.yamlform.template_user_profile.yml

File

modules/yamlform_templates/config/install/yamlform.yamlform.template_user_profile.yml
View source
  1. langcode: en
  2. status: false
  3. dependencies:
  4. enforced:
  5. module:
  6. - yamlform_templates
  7. uid: null
  8. template: true
  9. id: template_user_profile
  10. title: 'User Profile'
  11. description: 'A user profile form template.'
  12. elements: |
  13. account_information:
  14. '#title': 'Your Account Information'
  15. '#type': fieldset
  16. user_name:
  17. '#type': textfield
  18. '#title': 'User Name'
  19. picture:
  20. '#type': managed_file
  21. '#title': 'Picture'
  22. '#description': 'Your virtual face or picture. Pictures larger than 1024x1024 pixels will be scaled down.'
  23. '#max_filesize': '2'
  24. '#file_extensions': 'gif jpg png svg'
  25. personal_information:
  26. '#title': 'Your Personal Information'
  27. '#type': fieldset
  28. first_name:
  29. '#title': 'First Name'
  30. '#type': textfield
  31. '#required': true
  32. last_name:
  33. '#type': textfield
  34. '#title': 'Last Name'
  35. '#required': true
  36. country:
  37. '#type': select
  38. '#title': 'Country'
  39. '#options': country_names
  40. location:
  41. '#type': location
  42. '#title': 'Location'
  43. '#title_display': invisible
  44. '#description': 'Your location will be saved and may be shared.'
  45. '#geolocation': true
  46. '#address__title': 'Locations'
  47. languages:
  48. '#type': select
  49. '#title': 'Languages Spoken'
  50. '#description': 'Select one or more languages you speak.'
  51. '#multiple': true
  52. '#select2': true
  53. '#options': languages
  54. gender:
  55. '#type': radios
  56. '#title': 'Gender'
  57. '#options': gender
  58. biography:
  59. '#type': text_format
  60. '#title': 'Biography'
  61. '#description': 'Please include a short blurb about yourself to let us know who you are outside of Drupal.'
  62. website:
  63. '#type': url
  64. '#title': 'Website'
  65. irc:
  66. '#type': textfield
  67. '#title': 'IRC'
  68. '#description': 'The nickname you use on various channels of irc.freenode.net'
  69. twitter:
  70. '#type': textfield
  71. '#title': 'Twitter'
  72. '#description': 'Your Twitter handle.'
  73. github:
  74. '#type': textfield
  75. '#title': 'GitHub'
  76. '#description': 'Your GitHub user name.'
  77. work_information:
  78. '#title': 'Your Work Information'
  79. '#type': fieldset
  80. current_organization:
  81. '#type': textfield
  82. '#title': 'Current Organization'
  83. current_title:
  84. '#type': textfield
  85. '#title': 'Current Job Title'
  86. organizations:
  87. '#type': textarea
  88. '#title': 'Past Organizations'
  89. '#description': 'List companies or institutions you have worked for.'
  90. industries:
  91. '#type': select_other
  92. '#title': 'Industries Worked In'
  93. '#options': industry
  94. '#multiple': true
  95. '#select2': true
  96. email_settings:
  97. '#title': 'E-mail addresses'
  98. '#type': fieldset
  99. email:
  100. '#type': email
  101. '#title': 'Primary E-mall Address'
  102. '#description': 'Enter your primary e-mail addresses, which will be used for all e-mail communications.'
  103. emails:
  104. '#type': email_multiple
  105. '#title': 'Secondary E-mall Addresses'
  106. '#description': 'Enter multiple e-mail addresses separated by commas.'
  107. regional_settings:
  108. '#title': 'Regional Settings'
  109. '#type': fieldset
  110. time_zone:
  111. '#type': select
  112. '#title': 'Timezone'
  113. '#options': time_zones
  114. language:
  115. '#type': select
  116. '#title': 'Preferred Language'
  117. '#description': 'This account''s default language for e-mails, and preferred language for site presentation.'
  118. '#options': languages
  119. css: ''
  120. javascript: ''
  121. settings:
  122. page: true
  123. page_submit_path: ''
  124. page_confirm_path: ''
  125. form_submit_label: Register
  126. form_submit_attributes: { }
  127. form_exception_message: ''
  128. form_closed_message: ''
  129. form_confidential: false
  130. form_confidential_message: ''
  131. form_prepopulate: false
  132. form_prepopulate_source_entity: false
  133. form_novalidate: false
  134. form_unsaved: false
  135. form_disable_back: false
  136. form_autofocus: false
  137. form_details_toggle: false
  138. wizard_progress_bar: true
  139. wizard_progress_pages: false
  140. wizard_progress_percentage: false
  141. wizard_next_button_label: ''
  142. wizard_next_button_attributes: { }
  143. wizard_prev_button_label: ''
  144. wizard_prev_button_attributes: { }
  145. wizard_start_label: ''
  146. wizard_complete: true
  147. wizard_complete_label: ''
  148. preview: 0
  149. preview_next_button_label: ''
  150. preview_next_button_attributes: { }
  151. preview_prev_button_label: ''
  152. preview_prev_button_attributes: { }
  153. preview_message: ''
  154. draft: false
  155. draft_auto_save: false
  156. draft_button_label: ''
  157. draft_button_attributes: { }
  158. draft_saved_message: ''
  159. draft_loaded_message: ''
  160. confirmation_type: page
  161. confirmation_message: ''
  162. confirmation_url: ''
  163. confirmation_attributes: { }
  164. confirmation_back: true
  165. confirmation_back_label: ''
  166. confirmation_back_attributes: { }
  167. limit_total: null
  168. limit_total_message: ''
  169. limit_user: null
  170. limit_user_message: ''
  171. entity_limit_total: null
  172. entity_limit_user: null
  173. results_disabled: false
  174. results_disabled_ignore: false
  175. token_update: false
  176. access:
  177. create:
  178. roles:
  179. - anonymous
  180. - authenticated
  181. users: { }
  182. view_any:
  183. roles: { }
  184. users: { }
  185. update_any:
  186. roles: { }
  187. users: { }
  188. delete_any:
  189. roles: { }
  190. users: { }
  191. purge_any:
  192. roles: { }
  193. users: { }
  194. view_own:
  195. roles: { }
  196. users: { }
  197. update_own:
  198. roles: { }
  199. users: { }
  200. delete_own:
  201. roles: { }
  202. users: { }
  203. handlers:
  204. email_notification:
  205. id: email
  206. label: 'Email Notification'
  207. handler_id: email_notification
  208. status: true
  209. weight: 1
  210. settings:
  211. to_mail: default
  212. cc_mail: ''
  213. bcc_mail: ''
  214. from_mail: '[yamlform_submission:values:email:raw]'
  215. from_name: '[yamlform_submission:values:first_name] [yamlform_submission:values:last_name]'
  216. subject: default
  217. body: default
  218. excluded_elements: { }
  219. html: true
  220. attachments: false
  221. debug: false