You are here

colorapi.schema.yml in Color API 8

config/schema/colorapi.schema.yml

File

config/schema/colorapi.schema.yml
View source
  1. colorapi.settings:
  2. type: config_object
  3. label: 'Colora API module settings'
  4. mapping:
  5. enable_color_field:
  6. type: boolean
  7. label: 'Whether or not the Color Field should be enabled'
  8. enable_color_entity:
  9. type: boolean
  10. label: 'Whether or not the Color Entity should be enabled'
  11. colorapi.colorapi_color.*:
  12. type: config_entity
  13. label: 'Color entity configuration'
  14. mapping:
  15. id:
  16. type: string
  17. label: 'ID'
  18. label:
  19. type: label
  20. label: 'Label'
  21. color:
  22. type: hexadecimal_color
  23. label: 'The color, in hexadecimal format'
  24. field.value.colorapi_color_field:
  25. type: mapping
  26. label: 'Color Field Default value'
  27. mapping:
  28. name:
  29. type: string
  30. label: 'Human-readable color name'
  31. color:
  32. type: hexadecimal_color
  33. label: 'The color in hexadecimal format'
  34. field.formatter.settings.colorapi_raw_hex_display:
  35. type: mapping
  36. label: 'Raw Hexadecimal Color display formatter settings'
  37. mapping:
  38. display_name:
  39. type: boolean
  40. label: 'Display the human-readable name in the field output'
  41. show_hash:
  42. type: boolean
  43. label: 'Prefix colors with the hash (#) symbol'
  44. field.formatter.settings.colorapi_text_display:
  45. type: mapping
  46. label: 'Text Color display formatter settings'
  47. mapping:
  48. display_name:
  49. type: boolean
  50. label: 'Display the human-readable name in the field output'
  51. show_hash:
  52. type: boolean
  53. label: 'Prefix colors with the hash (#) symbol'
  54. field.formatter.settings.colorapi_raw_rgb_display:
  55. type: mapping
  56. label: 'Raw RGB display formatter settings'
  57. mapping:
  58. display_name:
  59. type: boolean
  60. label: 'Display the human-readable name in the field output'
  61. field.formatter.settings.colorapi_color_display:
  62. type: mapping
  63. label: 'Colored Block display formatter settings'
  64. mapping:
  65. display_name:
  66. type: boolean
  67. label: 'Display the human-readable name in the field output'