You are here

conditional_fields.schema.yml in Conditional Fields 8

Same filename and directory in other branches
  1. 4.x config/schema/conditional_fields.schema.yml
config/schema/conditional_fields.schema.yml

File

config/schema/conditional_fields.schema.yml
View source
  1. field.widget.third_party.conditional_fields:
  2. type: sequence
  3. label: 'Conditions'
  4. sequence:
  5. type: mapping
  6. label: 'Conditional field data'
  7. mapping:
  8. uuid:
  9. type: string
  10. entity_type:
  11. type: string
  12. label: 'Entity type id'
  13. bundle:
  14. type: string
  15. label: 'Bundle id'
  16. dependee:
  17. type: string
  18. label: 'Dependee field name'
  19. settings:
  20. type: conditional_fields.settings
  21. label: 'Condition settings'
  22. conditional_fields.settings:
  23. type: mapping
  24. label: 'Condition settings'
  25. mapping:
  26. state:
  27. type: string
  28. condition:
  29. type: string
  30. grouping:
  31. type: string
  32. label: 'Interaction with other dependencies'
  33. values_set:
  34. type: integer
  35. label: 'Values input mode'
  36. value:
  37. type: string
  38. label: 'Value for boolean or string condition'
  39. values:
  40. type: sequence
  41. label: 'Value from set of values OR,AND,NOT,XOR'
  42. sequence:
  43. type: string
  44. value_form:
  45. type: sequence
  46. label: 'Values from widget'
  47. sequence:
  48. # Since it sub-config of field.widget.third_party, get there.
  49. type: field.value.[%parent.%parent.%parent.%parent.%parent.%parent.type]
  50. label: 'Value from widget'
  51. effect:
  52. type: string
  53. effect_options:
  54. type: sequence
  55. selector:
  56. type: string
  57. label: 'Custom jQuery selector'
  58. inheritance:
  59. type: mapping
  60. label: 'Inheritance'
  61. mapping:
  62. propagate:
  63. type: string
  64. label: 'Propagate settings to fields contained within this one.'
  65. apply_to_parent:
  66. type: string
  67. label: 'Apply these settings to the this (parent) field also.'
  68. recurse:
  69. type: string
  70. label: 'Apply these settings to group fields contained within this one.'