You are here

component_blocks.schema.yml in Component blocks 1.1.x

config/schema/component_blocks.schema.yml

File

config/schema/component_blocks.schema.yml
View source
  1. component_blocks.context_variable:
  2. type: mapping
  3. label: Context variable
  4. mapping:
  5. type:
  6. type: string
  7. label: 'Formatter'
  8. source:
  9. type: string
  10. label: 'Source field'
  11. value:
  12. type: string
  13. label: 'Fixed value'
  14. settings:
  15. type: field.formatter.settings.[%parent.type]
  16. label: 'Settings'
  17. block.settings.component_blocks:*:*:
  18. type: block_settings
  19. label: 'Component block settings'
  20. mapping:
  21. variant:
  22. type: string
  23. label: 'Variant'
  24. variables:
  25. type: sequence
  26. label: 'Properties'
  27. sequence:
  28. type: component_blocks.context_variable
  29. settings:
  30. type: sequence
  31. label: 'Settings'
  32. sequence:
  33. type: string
  34. label: 'Setting'