You are here

webform_options_custom.schema.yml in Webform 6.x

modules/webform_options_custom/config/schema/webform_options_custom.schema.yml

File

modules/webform_options_custom/config/schema/webform_options_custom.schema.yml
View source
  1. 'webform_options_custom.webform_options_custom.*':
  2. type: config_entity
  3. label: Images
  4. mapping:
  5. id:
  6. type: string
  7. label: 'Machine name'
  8. label:
  9. type: label
  10. label: Label
  11. category:
  12. type: label
  13. label: Category
  14. description:
  15. type: text
  16. label: 'Description'
  17. help:
  18. type: text
  19. label: 'Help'
  20. webform_type: html
  21. type:
  22. type: string
  23. label: 'Type of custom options'
  24. template:
  25. type: text
  26. label: 'HTML/SVG markup'
  27. webform_type: twig
  28. url:
  29. type: label
  30. label: 'HTML/SVG URL'
  31. css:
  32. type: string
  33. label: 'CSS (Cascading Style Sheets)'
  34. javascript:
  35. type: string
  36. label: JavaScript
  37. value_attributes:
  38. type: string
  39. label: 'Option value attribute names'
  40. text_attributes:
  41. type: string
  42. label: 'Option text attribute names'
  43. options:
  44. type: text
  45. label: 'Options (YAML)'
  46. webform_type: yaml
  47. fill:
  48. type: boolean
  49. label: 'Allow SVG to be filled using CSS'
  50. zoom:
  51. type: boolean
  52. label: 'Enable SVG panning and zooming'
  53. tooltip:
  54. type: boolean
  55. label: 'Display text and description in a tooltip'
  56. show_select:
  57. type: boolean
  58. label: 'Show select menu'
  59. element:
  60. type: boolean
  61. label: 'Use as a select element'
  62. entity_reference:
  63. type: boolean
  64. label: 'Use as an entity reference element'