You are here

webform_options_custom.schema.yml in Webform 8.5

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. type:
  21. type: string
  22. label: 'Type of custom options'
  23. template:
  24. type: text
  25. label: 'HTML/SVG markup'
  26. url:
  27. type: label
  28. label: 'HTML/SVG URL'
  29. css:
  30. type: string
  31. label: 'CSS (Cascading Style Sheets)'
  32. javascript:
  33. type: string
  34. label: JavaScript
  35. value_attributes:
  36. type: string
  37. label: 'Option value attribute names'
  38. text_attributes:
  39. type: string
  40. label: 'Option text attribute names'
  41. options:
  42. type: text
  43. label: 'Options (YAML)'
  44. fill:
  45. type: boolean
  46. label: 'Allow SVG to be filled using CSS'
  47. zoom:
  48. type: boolean
  49. label: 'Enable SVG panning and zooming'
  50. tooltip:
  51. type: boolean
  52. label: 'Display text and description in a tooltip'
  53. show_select:
  54. type: boolean
  55. label: 'Show select menu'
  56. element:
  57. type: boolean
  58. label: 'Use as a select element'
  59. entity_reference:
  60. type: boolean
  61. label: 'Use as an entity reference element'