You are here

conditional_fields.schema.yml in Conditional Fields 4.x

Same filename and directory in other branches
  1. 8 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. reset:
  29. type: boolean
  30. condition:
  31. type: string
  32. grouping:
  33. type: string
  34. label: 'Interaction with other dependencies'
  35. values_set:
  36. type: integer
  37. label: 'Values input mode'
  38. value:
  39. type: string
  40. label: 'Value for boolean or string condition'
  41. values:
  42. type: sequence
  43. label: 'Value from set of values OR,AND,NOT,XOR'
  44. sequence:
  45. type: string
  46. value_form:
  47. type: sequence
  48. label: 'Values from widget'
  49. sequence:
  50. # Since it sub-config of field.widget.third_party, get there.
  51. type: field.value.[%parent.%parent.%parent.%parent.%parent.%parent.type]
  52. label: 'Value from widget'
  53. effect:
  54. type: string
  55. effect_options:
  56. type: sequence
  57. selector:
  58. type: string
  59. label: 'Custom jQuery selector'
  60. inheritance:
  61. type: mapping
  62. label: 'Inheritance'
  63. mapping:
  64. propagate:
  65. type: string
  66. label: 'Propagate settings to fields contained within this one.'
  67. apply_to_parent:
  68. type: string
  69. label: 'Apply these settings to the this (parent) field also.'
  70. recurse:
  71. type: string
  72. label: 'Apply these settings to group fields contained within this one.'