You are here

background_image.schema.yml in Background Image 2.0.x

config/schema/background_image.schema.yml

File

config/schema/background_image.schema.yml
View source
  1. background_image.settings.*:
  2. type: background_image_settings
  3. label: 'Internal use only, does not export.'
  4. background_image.settings:
  5. type: config_object
  6. mapping:
  7. defaults:
  8. type: background_image_settings
  9. label: 'Default settings for background image entities.'
  10. entities:
  11. # Entity type
  12. type: sequence
  13. label: 'List of entities.'
  14. sequence:
  15. # Entity type bundle.
  16. type: sequence
  17. sequence:
  18. # Properties
  19. type: mapping
  20. mapping:
  21. enable:
  22. type: boolean
  23. label: 'Flag indicating whether entity bundle is enabled.'
  24. embed:
  25. type: boolean
  26. label: 'Flag indicating whether entity bundle can be embedded.'
  27. require:
  28. type: boolean
  29. label: 'Flag indicating whether a background image on the entity bundle is required.'
  30. group:
  31. type: string
  32. label: 'The group in which the background image form will be embedded into (if it exists).'
  33. retina_rules:
  34. type: sequence
  35. label: 'The CSS media query rules that are used to determine when to apply the "retina" or @2x version of the image.'
  36. sequence:
  37. type: string
  38. css:
  39. type: mapping
  40. mapping:
  41. base_class:
  42. type: string
  43. label: 'Base class'
  44. retina_rules:
  45. type: sequence
  46. label: 'The CSS media query rules that are used to determine when to apply the "retina" or @2x version of the image.'
  47. sequence:
  48. type: string
  49. image_style:
  50. type: sequence
  51. label: 'List of image styles'
  52. sequence:
  53. type: string