You are here

webform.field.schema.yml in Webform 8.5

Same filename and directory in other branches
  1. 6.x config/schema/webform.field.schema.yml
config/schema/webform.field.schema.yml

File

config/schema/webform.field.schema.yml
View source
  1. # @see field.storage_settings.entity_reference
  2. field.storage_settings.webform:
  3. type: mapping
  4. label: 'Webform field storage settings'
  5. mapping:
  6. target_type:
  7. type: string
  8. label: 'Type of item to reference'
  9. # @see field.field_settings.entity_reference
  10. field.field_settings.webform:
  11. type: mapping
  12. label: 'Entity reference field settings'
  13. mapping:
  14. handler:
  15. type: string
  16. label: 'Reference method'
  17. handler_settings:
  18. type: entity_reference_selection.[%parent.handler]
  19. label: 'Entity reference selection plugin settings'
  20. # @see field.value.entity_reference
  21. field.value.webform:
  22. type: field.value.entity_reference
  23. label: 'Default value'
  24. mapping:
  25. default_data:
  26. type: text
  27. label: 'Default webform submission data'
  28. status:
  29. type: string
  30. label: 'Webform status'
  31. open:
  32. type: string
  33. label: 'Webform open date/time'
  34. close:
  35. type: string
  36. label: 'Webform close date/time'
  37. # @todo Figure how and if this can be moved to webform_access.schema.yml.
  38. webform_access_group:
  39. type: sequence
  40. label: 'Access groups'
  41. sequence:
  42. type: string
  43. label: 'Access group'
  44. field.widget.settings.webform_entity_reference_autocomplete:
  45. type: mapping
  46. label: 'Webform autocomplete display format settings'
  47. mapping:
  48. match_operator:
  49. type: string
  50. label: 'Autocomplete matching'
  51. size:
  52. type: integer
  53. label: 'Size of textfield'
  54. placeholder:
  55. type: label
  56. label: Placeholder
  57. default_data:
  58. type: boolean
  59. label: 'Default submission data'
  60. field.widget.settings.webform_entity_reference_select:
  61. type: mapping
  62. label: 'Webform select display format settings'
  63. mapping:
  64. default_data:
  65. type: boolean
  66. label: 'Default submission data'
  67. webforms:
  68. type: sequence
  69. label: 'Webforms'
  70. sequence:
  71. type: string
  72. label: 'Webform'
  73. field.formatter.settings.webform_entity_reference_entity_view:
  74. type: mapping
  75. label: 'Display the referenced webform with default submission data.'
  76. mapping:
  77. source_entity:
  78. type: boolean
  79. label: 'Source entity'
  80. field.formatter.settings.webform_entity_reference_link:
  81. type: mapping
  82. label: 'Display the referenced webform as a link.'
  83. mapping:
  84. label:
  85. type: label
  86. label: 'Link label to the referenced webform'
  87. dialog:
  88. type: string
  89. label: 'Open referenced webform in modal dialog'
  90. attributes:
  91. type: ignore
  92. label: 'Link attributes'