You are here

yamlform.yamlform.test_element_flexbox.yml in YAML Form 8

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

File

tests/modules/yamlform_test/config/install/yamlform.yamlform.test_element_flexbox.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_flexbox
  10. title: 'Test: Element: Flexbox'
  11. description: 'Test flexbox layout.'
  12. elements: |
  13. flexbox_captcha:
  14. '#type': yamlform_flexbox
  15. flex_captcha_left:
  16. '#type': captcha
  17. '#title': 'CAPTCHA 01'
  18. flex_captcha_right:
  19. '#type': captcha
  20. '#title': 'CAPTCHA 02'
  21. flexbox_container:
  22. '#type': yamlform_flexbox
  23. flex_container_left:
  24. '#type': container
  25. '#title': 'Container 01'
  26. container_content:
  27. '#markup': 'This is a Container container.'
  28. flex_container_right:
  29. '#type': container
  30. '#title': 'Container 02'
  31. container_content:
  32. '#markup': 'This is a Container container.'
  33. flexbox_details:
  34. '#type': yamlform_flexbox
  35. flex_details_left:
  36. '#type': details
  37. '#title': 'Details 01'
  38. '#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/2348851">Issue #2348851: Regression: Allow HTML tags inside detail summary</a>'
  39. details_content:
  40. '#markup': 'This is a Details container.'
  41. flex_details_right:
  42. '#type': details
  43. '#title': 'Details 02'
  44. '#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/2348851">Issue #2348851: Regression: Allow HTML tags inside detail summary</a>'
  45. details_content:
  46. '#markup': 'This is a Details container.'
  47. flexbox_fieldset:
  48. '#type': yamlform_flexbox
  49. flex_fieldset_left:
  50. '#type': fieldset
  51. '#title': 'Fieldset 01'
  52. fieldset_content:
  53. '#markup': 'This is a Fieldset container.'
  54. flex_fieldset_right:
  55. '#type': fieldset
  56. '#title': 'Fieldset 02'
  57. fieldset_content:
  58. '#markup': 'This is a Fieldset container.'
  59. flexbox_yamlform_markup:
  60. '#type': yamlform_flexbox
  61. flex_yamlform_markup_left:
  62. '#type': markup
  63. '#title': 'HTML markup 01'
  64. '#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/2700667">Issue #2700667: Notice: Undefined index: #type in drupal_process_states()</a>'
  65. yamlform_markup_content:
  66. '#markup': 'This is a HTML markup container.'
  67. flex_yamlform_markup_right:
  68. '#type': markup
  69. '#title': 'HTML markup 02'
  70. '#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/2700667">Issue #2700667: Notice: Undefined index: #type in drupal_process_states()</a>'
  71. yamlform_markup_content:
  72. '#markup': 'This is a HTML markup container.'
  73. flexbox_item:
  74. '#type': yamlform_flexbox
  75. flex_item_left:
  76. '#type': item
  77. '#title': 'Item 01'
  78. '#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/783438">Issue #783438: #states doesn''t work for #type item</a>'
  79. '#markup': '{markup}'
  80. '#field_prefix': '{field_prefix}'
  81. '#field_suffix': '{field_suffix}'
  82. item_content:
  83. '#markup': 'This is a Item container.'
  84. flex_item_right:
  85. '#type': item
  86. '#title': 'Item 02'
  87. '#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/783438">Issue #783438: #states doesn''t work for #type item</a>'
  88. '#markup': '{markup}'
  89. '#field_prefix': '{field_prefix}'
  90. '#field_suffix': '{field_suffix}'
  91. item_content:
  92. '#markup': 'This is a Item container.'
  93. flexbox_label:
  94. '#type': yamlform_flexbox
  95. flex_label_left:
  96. '#type': label
  97. '#title': 'Label 01'
  98. label_content:
  99. '#markup': 'This is a Label container.'
  100. flex_label_right:
  101. '#type': label
  102. '#title': 'Label 02'
  103. label_content:
  104. '#markup': 'This is a Label container.'
  105. flexbox_yamlform_message:
  106. '#type': yamlform_flexbox
  107. flex_yamlform_message_left:
  108. '#type': message
  109. '#title': 'Message 01'
  110. '#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/77245">Issue #77245: A place for JavaScript status messages</a>'
  111. '#message_type': warning
  112. '#message_message': 'This is a <strong>warning</strong> message.'
  113. yamlform_message_content:
  114. '#markup': 'This is a Message container.'
  115. flex_yamlform_message_right:
  116. '#type': message
  117. '#title': 'Message 02'
  118. '#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/77245">Issue #77245: A place for JavaScript status messages</a>'
  119. '#message_type': warning
  120. '#message_message': 'This is a <strong>warning</strong> message.'
  121. yamlform_message_content:
  122. '#markup': 'This is a Message container.'
  123. flexbox_processed_text:
  124. '#type': yamlform_flexbox
  125. flex_processed_text_left:
  126. '#type': processed_text
  127. '#title': 'Processed text 01'
  128. processed_text_content:
  129. '#markup': 'This is a Processed text container.'
  130. flex_processed_text_right:
  131. '#type': processed_text
  132. '#title': 'Processed text 02'
  133. processed_text_content:
  134. '#markup': 'This is a Processed text container.'
  135. flexbox_table:
  136. '#type': yamlform_flexbox
  137. flex_table_left:
  138. '#type': table
  139. '#title': 'Table 01'
  140. table_content:
  141. '#markup': 'This is a Table container.'
  142. flex_table_right:
  143. '#type': table
  144. '#title': 'Table 02'
  145. table_content:
  146. '#markup': 'This is a Table container.'
  147. flexbox_yamlform_address:
  148. '#type': yamlform_flexbox
  149. flex_yamlform_address_left:
  150. '#type': address
  151. '#title': 'Address 01'
  152. flex_yamlform_address_right:
  153. '#type': address
  154. '#title': 'Address 02'
  155. flexbox_yamlform_audio_file:
  156. '#type': yamlform_flexbox
  157. flex_yamlform_audio_file_left:
  158. '#type': audio_file
  159. '#title': 'Audio file 01'
  160. flex_yamlform_audio_file_right:
  161. '#type': audio_file
  162. '#title': 'Audio file 02'
  163. flexbox_yamlform_autocomplete:
  164. '#type': yamlform_flexbox
  165. flex_yamlform_autocomplete_left:
  166. '#type': autocomplete
  167. '#title': 'Autocomplete 01'
  168. '#autocomplete_items': country_names
  169. flex_yamlform_autocomplete_right:
  170. '#type': autocomplete
  171. '#title': 'Autocomplete 02'
  172. '#autocomplete_items': country_names
  173. flexbox_yamlform_buttons:
  174. '#type': yamlform_flexbox
  175. flex_yamlform_buttons_left:
  176. '#type': buttons
  177. '#title': 'Buttons 01'
  178. '#options':
  179. One: One
  180. Two: Two
  181. Three: Three
  182. flex_yamlform_buttons_right:
  183. '#type': buttons
  184. '#title': 'Buttons 02'
  185. '#options':
  186. One: One
  187. Two: Two
  188. Three: Three
  189. flexbox_yamlform_buttons_other:
  190. '#type': yamlform_flexbox
  191. flex_yamlform_buttons_other_left:
  192. '#type': buttons_other
  193. '#title': 'Buttons other 01'
  194. '#options':
  195. One: One
  196. Two: Two
  197. Three: Three
  198. flex_yamlform_buttons_other_right:
  199. '#type': buttons_other
  200. '#title': 'Buttons other 02'
  201. '#options':
  202. One: One
  203. Two: Two
  204. Three: Three
  205. flexbox_checkbox:
  206. '#type': yamlform_flexbox
  207. flex_checkbox_left:
  208. '#type': checkbox
  209. '#title': 'Checkbox 01'
  210. flex_checkbox_right:
  211. '#type': checkbox
  212. '#title': 'Checkbox 02'
  213. flexbox_checkboxes:
  214. '#type': yamlform_flexbox
  215. flex_checkboxes_left:
  216. '#type': checkboxes
  217. '#title': 'Checkboxes 01'
  218. '#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/994360">Issue #994360: #states cannot disable/enable radios and checkboxes</a><br/><a href="https://www.drupal.org/node/2836364">Issue #2836364: Wrapper attributes are not supported by composite elements, this includes radios, checkboxes, and buttons.</a>'
  219. '#options':
  220. One: One
  221. Two: Two
  222. Three: Three
  223. flex_checkboxes_right:
  224. '#type': checkboxes
  225. '#title': 'Checkboxes 02'
  226. '#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/994360">Issue #994360: #states cannot disable/enable radios and checkboxes</a><br/><a href="https://www.drupal.org/node/2836364">Issue #2836364: Wrapper attributes are not supported by composite elements, this includes radios, checkboxes, and buttons.</a>'
  227. '#options':
  228. One: One
  229. Two: Two
  230. Three: Three
  231. flexbox_yamlform_checkboxes_other:
  232. '#type': yamlform_flexbox
  233. flex_yamlform_checkboxes_other_left:
  234. '#type': checkboxes_other
  235. '#title': 'Checkboxes other 01'
  236. '#options':
  237. One: One
  238. Two: Two
  239. Three: Three
  240. flex_yamlform_checkboxes_other_right:
  241. '#type': checkboxes_other
  242. '#title': 'Checkboxes other 02'
  243. '#options':
  244. One: One
  245. Two: Two
  246. Three: Three
  247. flexbox_yamlform_codemirror:
  248. '#type': yamlform_flexbox
  249. flex_yamlform_codemirror_left:
  250. '#type': codemirror
  251. '#title': 'CodeMirror 01'
  252. '#mode': yaml
  253. flex_yamlform_codemirror_right:
  254. '#type': codemirror
  255. '#title': 'CodeMirror 02'
  256. '#mode': yaml
  257. flexbox_color:
  258. '#type': yamlform_flexbox
  259. flex_color_left:
  260. '#type': color
  261. '#title': 'Color 01'
  262. flex_color_right:
  263. '#type': color
  264. '#title': 'Color 02'
  265. flexbox_yamlform_contact:
  266. '#type': yamlform_flexbox
  267. flex_yamlform_contact_left:
  268. '#type': contact
  269. '#title': 'Contact 01'
  270. flex_yamlform_contact_right:
  271. '#type': contact
  272. '#title': 'Contact 02'
  273. flexbox_yamlform_creditcard:
  274. '#type': yamlform_flexbox
  275. flex_yamlform_creditcard_left:
  276. '#type': creditcard
  277. '#title': 'Credit card 01'
  278. flex_yamlform_creditcard_right:
  279. '#type': creditcard
  280. '#title': 'Credit card 02'
  281. flexbox_yamlform_creditcard_number:
  282. '#type': yamlform_flexbox
  283. flex_yamlform_creditcard_number_left:
  284. '#type': creditcard_number
  285. '#title': 'Credit card number 01'
  286. flex_yamlform_creditcard_number_right:
  287. '#type': creditcard_number
  288. '#title': 'Credit card number 02'
  289. flexbox_date:
  290. '#type': yamlform_flexbox
  291. flex_date_left:
  292. '#type': date
  293. '#title': 'Date 01'
  294. flex_date_right:
  295. '#type': date
  296. '#title': 'Date 02'
  297. flexbox_datetime:
  298. '#type': yamlform_flexbox
  299. flex_datetime_left:
  300. '#type': datetime
  301. '#title': 'Date/time 01'
  302. '#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/2419131">Issue #2419131: #states attribute does not work on #type datetime</a>'
  303. flex_datetime_right:
  304. '#type': datetime
  305. '#title': 'Date/time 02'
  306. '#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/2419131">Issue #2419131: #states attribute does not work on #type datetime</a>'
  307. flexbox_datelist:
  308. '#type': yamlform_flexbox
  309. flex_datelist_left:
  310. '#type': datelist
  311. '#title': 'Date list 01'
  312. flex_datelist_right:
  313. '#type': datelist
  314. '#title': 'Date list 02'
  315. flexbox_yamlform_document_file:
  316. '#type': yamlform_flexbox
  317. flex_yamlform_document_file_left:
  318. '#type': document_file
  319. '#title': 'Document file 01'
  320. flex_yamlform_document_file_right:
  321. '#type': document_file
  322. '#title': 'Document file 02'
  323. flexbox_email:
  324. '#type': yamlform_flexbox
  325. flex_email_left:
  326. '#type': email
  327. '#title': 'Email 01'
  328. flex_email_right:
  329. '#type': email
  330. '#title': 'Email 02'
  331. flexbox_yamlform_email_confirm:
  332. '#type': yamlform_flexbox
  333. flex_yamlform_email_confirm_left:
  334. '#type': email_confirm
  335. '#title': 'Email confirm 01'
  336. flex_yamlform_email_confirm_right:
  337. '#type': email_confirm
  338. '#title': 'Email confirm 02'
  339. flexbox_yamlform_email_multiple:
  340. '#type': yamlform_flexbox
  341. flex_yamlform_email_multiple_left:
  342. '#type': email_multiple
  343. '#title': 'Email multiple 01'
  344. flex_yamlform_email_multiple_right:
  345. '#type': email_multiple
  346. '#title': 'Email multiple 02'
  347. flexbox_entity_autocomplete:
  348. '#type': yamlform_flexbox
  349. flex_entity_autocomplete_left:
  350. '#type': entity_autocomplete
  351. '#title': 'Entity autocomplete 01'
  352. '#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/2826451">Issue #2826451: TermSelection returning HTML characters in select list</a>'
  353. '#target_type': user
  354. '#selection_handler': 'default:user'
  355. '#selection_settings':
  356. include_anonymous: true
  357. flex_entity_autocomplete_right:
  358. '#type': entity_autocomplete
  359. '#title': 'Entity autocomplete 02'
  360. '#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/2826451">Issue #2826451: TermSelection returning HTML characters in select list</a>'
  361. '#target_type': user
  362. '#selection_handler': 'default:user'
  363. '#selection_settings':
  364. include_anonymous: true
  365. flexbox_yamlform_entity_checkboxes:
  366. '#type': yamlform_flexbox
  367. flex_yamlform_entity_checkboxes_left:
  368. '#type': entity_checkboxes
  369. '#title': 'Entity checkboxes 01'
  370. '#target_type': user
  371. '#selection_handler': 'default:user'
  372. '#selection_settings':
  373. include_anonymous: true
  374. flex_yamlform_entity_checkboxes_right:
  375. '#type': entity_checkboxes
  376. '#title': 'Entity checkboxes 02'
  377. '#target_type': user
  378. '#selection_handler': 'default:user'
  379. '#selection_settings':
  380. include_anonymous: true
  381. flexbox_yamlform_entity_radios:
  382. '#type': yamlform_flexbox
  383. flex_yamlform_entity_radios_left:
  384. '#type': entity_radios
  385. '#title': 'Entity radios 01'
  386. '#target_type': user
  387. '#selection_handler': 'default:user'
  388. '#selection_settings':
  389. include_anonymous: true
  390. flex_yamlform_entity_radios_right:
  391. '#type': entity_radios
  392. '#title': 'Entity radios 02'
  393. '#target_type': user
  394. '#selection_handler': 'default:user'
  395. '#selection_settings':
  396. include_anonymous: true
  397. flexbox_yamlform_entity_select:
  398. '#type': yamlform_flexbox
  399. flex_yamlform_entity_select_left:
  400. '#type': entity_select
  401. '#title': 'Entity select 01'
  402. '#target_type': user
  403. '#selection_handler': 'default:user'
  404. '#selection_settings':
  405. include_anonymous: true
  406. flex_yamlform_entity_select_right:
  407. '#type': entity_select
  408. '#title': 'Entity select 02'
  409. '#target_type': user
  410. '#selection_handler': 'default:user'
  411. '#selection_settings':
  412. include_anonymous: true
  413. flexbox_yamlform_element:
  414. '#type': yamlform_flexbox
  415. flex_yamlform_element_left:
  416. '#type': element
  417. '#title': 'Generic element 01'
  418. flex_yamlform_element_right:
  419. '#type': element
  420. '#title': 'Generic element 02'
  421. flexbox_yamlform_image_file:
  422. '#type': yamlform_flexbox
  423. flex_yamlform_image_file_left:
  424. '#type': image_file
  425. '#title': 'Image file 01'
  426. flex_yamlform_image_file_right:
  427. '#type': image_file
  428. '#title': 'Image file 02'
  429. flexbox_language_select:
  430. '#type': yamlform_flexbox
  431. flex_language_select_left:
  432. '#type': language_select
  433. '#title': 'Language select 01'
  434. '#languages': 3
  435. flex_language_select_right:
  436. '#type': language_select
  437. '#title': 'Language select 02'
  438. '#languages': 3
  439. flexbox_yamlform_likert:
  440. '#type': yamlform_flexbox
  441. flex_yamlform_likert_left:
  442. '#type': likert
  443. '#title': 'Likert 01'
  444. '#questions':
  445. q1: 'Please answer question 1?'
  446. q2: 'How about now answering question 2?'
  447. q3: 'Finally, here is question 3?'
  448. '#answers':
  449. 1: 1
  450. 2: 2
  451. 3: 3
  452. 4: 4
  453. 5: 5
  454. flex_yamlform_likert_right:
  455. '#type': likert
  456. '#title': 'Likert 02'
  457. '#questions':
  458. q1: 'Please answer question 1?'
  459. q2: 'How about now answering question 2?'
  460. q3: 'Finally, here is question 3?'
  461. '#answers':
  462. 1: 1
  463. 2: 2
  464. 3: 3
  465. 4: 4
  466. 5: 5
  467. flexbox_yamlform_location:
  468. '#type': yamlform_flexbox
  469. flex_yamlform_location_left:
  470. '#type': location
  471. '#title': 'Location 01'
  472. flex_yamlform_location_right:
  473. '#type': location
  474. '#title': 'Location 02'
  475. flexbox_machine_name:
  476. '#type': yamlform_flexbox
  477. flex_machine_name_left:
  478. '#type': machine_name
  479. '#title': 'Machine name 01'
  480. flex_machine_name_right:
  481. '#type': machine_name
  482. '#title': 'Machine name 02'
  483. flexbox_managed_file:
  484. '#type': yamlform_flexbox
  485. flex_managed_file_left:
  486. '#type': managed_file
  487. '#title': 'Managed file 01'
  488. '#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/2705471">Issue #2705471: Form states managed file fields</a><br/><a href="https://www.drupal.org/node/2113931">Issue #2113931: File Field design update</a>'
  489. flex_managed_file_right:
  490. '#type': managed_file
  491. '#title': 'Managed file 02'
  492. '#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/2705471">Issue #2705471: Form states managed file fields</a><br/><a href="https://www.drupal.org/node/2113931">Issue #2113931: File Field design update</a>'
  493. flexbox_yamlform_name:
  494. '#type': yamlform_flexbox
  495. flex_yamlform_name_left:
  496. '#type': name
  497. '#title': 'Name 01'
  498. flex_yamlform_name_right:
  499. '#type': name
  500. '#title': 'Name 02'
  501. flexbox_number:
  502. '#type': yamlform_flexbox
  503. flex_number_left:
  504. '#type': number
  505. '#title': 'Number 01'
  506. '#min': 0
  507. '#max': 10
  508. '#step': 1
  509. flex_number_right:
  510. '#type': number
  511. '#title': 'Number 02'
  512. '#min': 0
  513. '#max': 10
  514. '#step': 1
  515. flexbox_password:
  516. '#type': yamlform_flexbox
  517. flex_password_left:
  518. '#type': password
  519. '#title': 'Password 01'
  520. flex_password_right:
  521. '#type': password
  522. '#title': 'Password 02'
  523. flexbox_password_confirm:
  524. '#type': yamlform_flexbox
  525. flex_password_confirm_left:
  526. '#type': password_confirm
  527. '#title': 'Password confirm 01'
  528. '#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/1427838">Issue #1427838: password and password_confirm children do not pick up #states or #attributes</a>'
  529. flex_password_confirm_right:
  530. '#type': password_confirm
  531. '#title': 'Password confirm 02'
  532. '#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/1427838">Issue #1427838: password and password_confirm children do not pick up #states or #attributes</a>'
  533. flexbox_radios:
  534. '#type': yamlform_flexbox
  535. flex_radios_left:
  536. '#type': radios
  537. '#title': 'Radios 01'
  538. '#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/2731991">Issue #2731991: Setting required on radios marks all options required</a><br/><a href="https://www.drupal.org/node/994360">Issue #994360: #states cannot disable/enable radios and checkboxes</a><br/><a href="https://www.drupal.org/node/2836364">Issue #2836364: Wrapper attributes are not supported by composite elements, this includes radios, checkboxes, and buttons.</a>'
  539. '#options':
  540. One: One
  541. Two: Two
  542. Three: Three
  543. flex_radios_right:
  544. '#type': radios
  545. '#title': 'Radios 02'
  546. '#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/2731991">Issue #2731991: Setting required on radios marks all options required</a><br/><a href="https://www.drupal.org/node/994360">Issue #994360: #states cannot disable/enable radios and checkboxes</a><br/><a href="https://www.drupal.org/node/2836364">Issue #2836364: Wrapper attributes are not supported by composite elements, this includes radios, checkboxes, and buttons.</a>'
  547. '#options':
  548. One: One
  549. Two: Two
  550. Three: Three
  551. flexbox_yamlform_radios_other:
  552. '#type': yamlform_flexbox
  553. flex_yamlform_radios_other_left:
  554. '#type': radios_other
  555. '#title': 'Radios other 01'
  556. '#options':
  557. One: One
  558. Two: Two
  559. Three: Three
  560. flex_yamlform_radios_other_right:
  561. '#type': radios_other
  562. '#title': 'Radios other 02'
  563. '#options':
  564. One: One
  565. Two: Two
  566. Three: Three
  567. flexbox_range:
  568. '#type': yamlform_flexbox
  569. flex_range_left:
  570. '#type': range
  571. '#title': 'Range 01'
  572. '#min': 0
  573. '#max': 100
  574. '#step': 1
  575. '#range__output': true
  576. '#range__output_prefix': $
  577. '#range__output_suffix': '.00'
  578. flex_range_right:
  579. '#type': range
  580. '#title': 'Range 02'
  581. '#min': 0
  582. '#max': 100
  583. '#step': 1
  584. '#range__output': true
  585. '#range__output_prefix': $
  586. '#range__output_suffix': '.00'
  587. flexbox_yamlform_rating:
  588. '#type': yamlform_flexbox
  589. flex_yamlform_rating_left:
  590. '#type': rating
  591. '#title': 'Rating 01'
  592. flex_yamlform_rating_right:
  593. '#type': rating
  594. '#title': 'Rating 02'
  595. flexbox_search:
  596. '#type': yamlform_flexbox
  597. flex_search_left:
  598. '#type': search
  599. '#title': 'Search 01'
  600. flex_search_right:
  601. '#type': search
  602. '#title': 'Search 02'
  603. flexbox_select:
  604. '#type': yamlform_flexbox
  605. flex_select_left:
  606. '#type': select
  607. '#title': 'Select 01'
  608. '#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/1426646">Issue #1426646: "-Select-" option is lost when form elements uses ''#states''</a><br/><a href="https://www.drupal.org/node/1149078">Issue #1149078: States API doesn''t work with multiple select fields</a><br/><a href="https://www.drupal.org/node/2791741">Issue #2791741: FAPI states: fields aren''t hidden initially when depending on multi-value selection</a>'
  609. '#options':
  610. One: One
  611. Two: Two
  612. Three: Three
  613. flex_select_right:
  614. '#type': select
  615. '#title': 'Select 02'
  616. '#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/1426646">Issue #1426646: "-Select-" option is lost when form elements uses ''#states''</a><br/><a href="https://www.drupal.org/node/1149078">Issue #1149078: States API doesn''t work with multiple select fields</a><br/><a href="https://www.drupal.org/node/2791741">Issue #2791741: FAPI states: fields aren''t hidden initially when depending on multi-value selection</a>'
  617. '#options':
  618. One: One
  619. Two: Two
  620. Three: Three
  621. flexbox_yamlform_select_other:
  622. '#type': yamlform_flexbox
  623. flex_yamlform_select_other_left:
  624. '#type': select_other
  625. '#title': 'Select other 01'
  626. '#options':
  627. One: One
  628. Two: Two
  629. Three: Three
  630. flex_yamlform_select_other_right:
  631. '#type': select_other
  632. '#title': 'Select other 02'
  633. '#options':
  634. One: One
  635. Two: Two
  636. Three: Three
  637. flexbox_yamlform_signature:
  638. '#type': yamlform_flexbox
  639. flex_yamlform_signature_left:
  640. '#type': signature
  641. '#title': 'Signature 01'
  642. flex_yamlform_signature_right:
  643. '#type': signature
  644. '#title': 'Signature 02'
  645. flexbox_tableselect:
  646. '#type': yamlform_flexbox
  647. flex_tableselect_left:
  648. '#type': tableselect
  649. '#title': 'Table select 01'
  650. '#options':
  651. One: One
  652. Two: Two
  653. Three: Three
  654. flex_tableselect_right:
  655. '#type': tableselect
  656. '#title': 'Table select 02'
  657. '#options':
  658. One: One
  659. Two: Two
  660. Three: Three
  661. flexbox_yamlform_tableselect_sort:
  662. '#type': yamlform_flexbox
  663. flex_yamlform_tableselect_sort_left:
  664. '#type': tableselect_sort
  665. '#title': 'Tableselect sort 01'
  666. '#options':
  667. One: One
  668. Two: Two
  669. Three: Three
  670. flex_yamlform_tableselect_sort_right:
  671. '#type': tableselect_sort
  672. '#title': 'Tableselect sort 02'
  673. '#options':
  674. One: One
  675. Two: Two
  676. Three: Three
  677. flexbox_yamlform_table_sort:
  678. '#type': yamlform_flexbox
  679. flex_yamlform_table_sort_left:
  680. '#type': table_sort
  681. '#title': 'Table sort 01'
  682. '#options':
  683. One: One
  684. Two: Two
  685. Three: Three
  686. flex_yamlform_table_sort_right:
  687. '#type': table_sort
  688. '#title': 'Table sort 02'
  689. '#options':
  690. One: One
  691. Two: Two
  692. Three: Three
  693. flexbox_tel:
  694. '#type': yamlform_flexbox
  695. flex_tel_left:
  696. '#type': tel
  697. '#title': 'Telephone 01'
  698. flex_tel_right:
  699. '#type': tel
  700. '#title': 'Telephone 02'
  701. flexbox_textarea:
  702. '#type': yamlform_flexbox
  703. flex_textarea_left:
  704. '#type': textarea
  705. '#title': 'Textarea 01'
  706. flex_textarea_right:
  707. '#type': textarea
  708. '#title': 'Textarea 02'
  709. flexbox_textfield:
  710. '#type': yamlform_flexbox
  711. flex_textfield_left:
  712. '#type': textfield
  713. '#title': 'Text field 01'
  714. flex_textfield_right:
  715. '#type': textfield
  716. '#title': 'Text field 02'
  717. flexbox_text_format:
  718. '#type': yamlform_flexbox
  719. flex_text_format_left:
  720. '#type': text_format
  721. '#title': 'Text format 01'
  722. '#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/997826">Issue #997826: #states doesn''t work correctly with type text_format</a><br/><a href="https://www.drupal.org/node/2625128">Issue #2625128: Text format selection stays visible when using editor and a hidden form state</a><br/><a href="https://www.drupal.org/node/1954968">Issue #1954968: Required CKEditor fields always fail HTML5 validation</a>'
  723. flex_text_format_right:
  724. '#type': text_format
  725. '#title': 'Text format 02'
  726. '#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/997826">Issue #997826: #states doesn''t work correctly with type text_format</a><br/><a href="https://www.drupal.org/node/2625128">Issue #2625128: Text format selection stays visible when using editor and a hidden form state</a><br/><a href="https://www.drupal.org/node/1954968">Issue #1954968: Required CKEditor fields always fail HTML5 validation</a>'
  727. flexbox_yamlform_time:
  728. '#type': yamlform_flexbox
  729. flex_yamlform_time_left:
  730. '#type': time
  731. '#title': 'Time 01'
  732. '#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/1838234">Issue #1838234: Add jQuery Timepicker for the Time element of the datetime field</a>'
  733. flex_yamlform_time_right:
  734. '#type': time
  735. '#title': 'Time 02'
  736. '#description': '<b>Known Issues:</b><br/><a href="https://www.drupal.org/node/1838234">Issue #1838234: Add jQuery Timepicker for the Time element of the datetime field</a>'
  737. flexbox_yamlform_toggle:
  738. '#type': yamlform_flexbox
  739. flex_yamlform_toggle_left:
  740. '#type': toggle
  741. '#title': 'Toggle 01'
  742. flex_yamlform_toggle_right:
  743. '#type': toggle
  744. '#title': 'Toggle 02'
  745. flexbox_yamlform_toggles:
  746. '#type': yamlform_flexbox
  747. flex_yamlform_toggles_left:
  748. '#type': toggles
  749. '#title': 'Toggles 01'
  750. '#options':
  751. One: One
  752. Two: Two
  753. Three: Three
  754. flex_yamlform_toggles_right:
  755. '#type': toggles
  756. '#title': 'Toggles 02'
  757. '#options':
  758. One: One
  759. Two: Two
  760. Three: Three
  761. flexbox_url:
  762. '#type': yamlform_flexbox
  763. flex_url_left:
  764. '#type': url
  765. '#title': 'URL 01'
  766. flex_url_right:
  767. '#type': url
  768. '#title': 'URL 02'
  769. flexbox_value:
  770. '#type': yamlform_flexbox
  771. flex_value_left:
  772. '#type': value
  773. '#title': 'Value 01'
  774. flex_value_right:
  775. '#type': value
  776. '#title': 'Value 02'
  777. flexbox_yamlform_video_file:
  778. '#type': yamlform_flexbox
  779. flex_yamlform_video_file_left:
  780. '#type': video_file
  781. '#title': 'Video file 01'
  782. flex_yamlform_video_file_right:
  783. '#type': video_file
  784. '#title': 'Video file 02'
  785. flexbox_properites:
  786. '#type': flexbox
  787. properties_number:
  788. '#type': number
  789. '#title': currency
  790. '#description': 'A description'
  791. '#field_prefix': $
  792. '#field_suffix': '.00'
  793. properties_textfield:
  794. '#type': textfield
  795. '#title': textfield
  796. '#description': 'A description'
  797. flexbox_toggle:
  798. '#type': flexbox
  799. '#align_items': flex-end
  800. toggle:
  801. '#type': toggle
  802. '#title': toggle
  803. toggle_textfield:
  804. '#type': textfield
  805. '#title': textfield
  806. '#flex': 5
  807. toggle_rating:
  808. '#type': rating
  809. '#title': rating
  810. css: ''
  811. javascript: ''
  812. settings:
  813. page: true
  814. page_submit_path: ''
  815. page_confirm_path: ''
  816. form_submit_label: ''
  817. form_submit_attributes: { }
  818. form_exception_message: ''
  819. form_closed_message: ''
  820. form_confidential: false
  821. form_confidential_message: ''
  822. form_prepopulate: false
  823. form_prepopulate_source_entity: false
  824. form_novalidate: false
  825. form_unsaved: false
  826. form_disable_back: false
  827. form_autofocus: false
  828. form_details_toggle: false
  829. wizard_progress_bar: true
  830. wizard_progress_pages: false
  831. wizard_progress_percentage: false
  832. wizard_next_button_label: ''
  833. wizard_next_button_attributes: { }
  834. wizard_prev_button_label: ''
  835. wizard_prev_button_attributes: { }
  836. wizard_start_label: ''
  837. wizard_complete: true
  838. wizard_complete_label: ''
  839. preview: 0
  840. preview_next_button_label: ''
  841. preview_next_button_attributes: { }
  842. preview_prev_button_label: ''
  843. preview_prev_button_attributes: { }
  844. preview_message: ''
  845. draft: false
  846. draft_auto_save: false
  847. draft_button_label: ''
  848. draft_button_attributes: { }
  849. draft_saved_message: ''
  850. draft_loaded_message: ''
  851. confirmation_type: page
  852. confirmation_message: ''
  853. confirmation_url: ''
  854. confirmation_attributes: { }
  855. confirmation_back: true
  856. confirmation_back_label: ''
  857. confirmation_back_attributes: { }
  858. limit_total: null
  859. limit_total_message: ''
  860. limit_user: null
  861. limit_user_message: ''
  862. entity_limit_total: null
  863. entity_limit_user: null
  864. results_disabled: false
  865. results_disabled_ignore: false
  866. token_update: false
  867. access:
  868. create:
  869. roles:
  870. - anonymous
  871. - authenticated
  872. users: { }
  873. view_any:
  874. roles: { }
  875. users: { }
  876. update_any:
  877. roles: { }
  878. users: { }
  879. delete_any:
  880. roles: { }
  881. users: { }
  882. purge_any:
  883. roles: { }
  884. users: { }
  885. view_own:
  886. roles: { }
  887. users: { }
  888. update_own:
  889. roles: { }
  890. users: { }
  891. delete_own:
  892. roles: { }
  893. users: { }
  894. handlers: { }