You are here

toggle_editable_fields.schema.yml in Toggle Editable fields 8

config/schema/toggle_editable_fields.schema.yml

File

config/schema/toggle_editable_fields.schema.yml
View source
  1. # Schema for the configuration files of the Toggle Editable Field module.
  2. field.formatter.settings.toggle_editable_formatter:
  3. type: mapping
  4. label: 'Toggle Editable Formatter'
  5. mapping:
  6. on:
  7. type: string
  8. label: 'Use custom label for On state'
  9. off:
  10. type: string
  11. label: 'Use custom label for Off state'
  12. size:
  13. type: string
  14. label: 'Size of toggle button'
  15. onstyle:
  16. type: string
  17. label: 'On state style of toggle button'
  18. offstyle:
  19. type: string
  20. label: 'Off state style of toggle button'
  21. height:
  22. type: integer
  23. label: 'Override height of toggle button'
  24. width:
  25. type: integer
  26. label: 'Override width of toggle button'