You are here

yamlform.yamlform.test_element_location.yml in YAML Form 8

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

File

tests/modules/yamlform_test/config/install/yamlform.yamlform.test_element_location.yml
View source
  1. langcode: en
  2. status: true
  3. dependencies:
  4. enforced:
  5. module:
  6. - yamlform_test
  7. uid: null
  8. template: false
  9. id: test_element_location
  10. title: 'Test: Element: Location'
  11. description: 'Test (geo)location elements.'
  12. elements: |
  13. location_default_element:
  14. '#type': details
  15. '#title': 'Location default element'
  16. '#open': true
  17. location_default:
  18. '#type': location
  19. '#title': 'location default'
  20. location_attributes_element:
  21. '#type': details
  22. '#title': 'Location with visible attributes element'
  23. '#open': true
  24. location_attributes:
  25. '#type': location
  26. '#title': 'Location with visible attributes'
  27. '#lat__access': true
  28. '#lng__access': true
  29. '#location__access': true
  30. '#formatted_address__access': true
  31. '#street_address__access': true
  32. '#street_number__access': true
  33. '#postal_code__access': true
  34. '#locality__access': true
  35. '#sublocality__access': true
  36. '#administrative_area_level_1__access': true
  37. '#country__access': true
  38. '#country_short__access': true
  39. location_default_value_required_element:
  40. '#type': details
  41. '#title': 'Location with default value and required element'
  42. '#open': true
  43. location_default_value_required:
  44. '#type': location
  45. '#title': 'Location with default value and required'
  46. '#default_value':
  47. value: '1600 Pennsylvania Ave NW, Washington, DC 20500'
  48. '#required': TRUE
  49. '#lat__access': true
  50. '#lng__access': true
  51. '#location__access': true
  52. '#formatted_address__access': true
  53. '#street_address__access': true
  54. '#street_number__access': true
  55. '#postal_code__access': true
  56. '#locality__access': true
  57. '#sublocality__access': true
  58. '#administrative_area_level_1__access': true
  59. '#country__access': true
  60. '#country_short__access': true
  61. location_geolocation_element:
  62. '#type': details
  63. '#title': 'Location with geolocation element'
  64. '#open': true
  65. location_geolocation:
  66. '#type': location
  67. '#title': 'Location with geolocation'
  68. '#geolocation': true
  69. '#location__access': true
  70. '#formatted_address__access': true
  71. '#street_address__access': true
  72. '#street_number__access': true
  73. '#postal_code__access': true
  74. '#locality__access': true
  75. '#sublocality__access': true
  76. '#administrative_area_level_1__access': true
  77. '#country__access': true
  78. '#country_short__access': true
  79. location_geolocation_hidden:
  80. '#type': location
  81. '#title': 'Location with geolocation and hidden'
  82. '#geolocation': true
  83. '#hidden': true
  84. css: ''
  85. javascript: ''
  86. settings:
  87. page: true
  88. page_submit_path: ''
  89. page_confirm_path: ''
  90. form_submit_label: ''
  91. form_submit_attributes: { }
  92. form_exception_message: ''
  93. form_closed_message: ''
  94. form_confidential: false
  95. form_confidential_message: ''
  96. form_prepopulate: false
  97. form_prepopulate_source_entity: false
  98. form_novalidate: false
  99. form_unsaved: false
  100. form_disable_back: false
  101. form_autofocus: false
  102. form_details_toggle: false
  103. wizard_progress_bar: true
  104. wizard_progress_pages: false
  105. wizard_progress_percentage: false
  106. wizard_next_button_label: ''
  107. wizard_next_button_attributes: { }
  108. wizard_prev_button_label: ''
  109. wizard_prev_button_attributes: { }
  110. wizard_start_label: ''
  111. wizard_complete: true
  112. wizard_complete_label: ''
  113. preview: 0
  114. preview_next_button_label: ''
  115. preview_next_button_attributes: { }
  116. preview_prev_button_label: ''
  117. preview_prev_button_attributes: { }
  118. preview_message: ''
  119. draft: false
  120. draft_auto_save: false
  121. draft_button_label: ''
  122. draft_button_attributes: { }
  123. draft_saved_message: ''
  124. draft_loaded_message: ''
  125. confirmation_type: page
  126. confirmation_message: ''
  127. confirmation_url: ''
  128. confirmation_attributes: { }
  129. confirmation_back: true
  130. confirmation_back_label: ''
  131. confirmation_back_attributes: { }
  132. limit_total: null
  133. limit_total_message: ''
  134. limit_user: null
  135. limit_user_message: ''
  136. entity_limit_total: null
  137. entity_limit_user: null
  138. results_disabled: false
  139. results_disabled_ignore: false
  140. token_update: false
  141. access:
  142. create:
  143. roles:
  144. - anonymous
  145. - authenticated
  146. users: { }
  147. view_any:
  148. roles: { }
  149. users: { }
  150. update_any:
  151. roles: { }
  152. users: { }
  153. delete_any:
  154. roles: { }
  155. users: { }
  156. purge_any:
  157. roles: { }
  158. users: { }
  159. view_own:
  160. roles: { }
  161. users: { }
  162. update_own:
  163. roles: { }
  164. users: { }
  165. delete_own:
  166. roles: { }
  167. users: { }
  168. handlers: { }