You are here

cookie_content_blocker.schema.yml in Cookie Content Blocker 8

config/schema/cookie_content_blocker.schema.yml

File

config/schema/cookie_content_blocker.schema.yml
View source
  1. # Schema for the configuration files of the Cookie Content Blocker module.
  2. cookie_content_blocker.settings:
  3. type: config_object
  4. label: 'Cookie Content Blocker'
  5. mapping:
  6. blocked_message:
  7. type: text
  8. label: 'Default message for blocked content'
  9. button_text:
  10. type: label
  11. label: 'The change cookie consent button text'
  12. enable_click_consent_change:
  13. type: boolean
  14. label: 'Enable changing consent by clicking on the blocked content'
  15. show_button:
  16. type: boolean
  17. label: 'Show a button to change cookie consent below the message for blocked content'
  18. consent_awareness:
  19. type: mapping
  20. label: 'Consent aware settings'
  21. mapping:
  22. accepted:
  23. type: mapping
  24. label: 'Consent given'
  25. mapping:
  26. event:
  27. type: cookie_content_blocker.consent.event
  28. cookie:
  29. type: cookie_content_blocker.consent.cookie
  30. declined:
  31. type: mapping
  32. label: 'Consent refused'
  33. mapping:
  34. event:
  35. type: cookie_content_blocker.consent.event
  36. cookie:
  37. type: cookie_content_blocker.consent.cookie
  38. change:
  39. type: mapping
  40. label: 'Consent changed'
  41. mapping:
  42. event:
  43. type: cookie_content_blocker.consent.event
  44. cookie_content_blocker.consent.event:
  45. type: mapping
  46. label: 'Event'
  47. mapping:
  48. name:
  49. type: string
  50. label: 'Name'
  51. selector:
  52. type: string
  53. label: 'Selector'
  54. cookie_content_blocker.consent.cookie:
  55. type: mapping
  56. label: 'Cookie'
  57. mapping:
  58. operator:
  59. type: string
  60. label: 'Operator'
  61. name:
  62. type: string
  63. label: 'Name'
  64. value:
  65. type: string
  66. label: 'Value'