Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / modules / contrib / eu_cookie_compliance / config / schema / eu_cookie_compliance.schema.yml
1 # Schema for the configuration files of the EU Cookie Compliance.
2
3 eu_cookie_compliance.settings:
4   type: config_object
5   label: 'EU Cookie Compliance Settings'
6   mapping:
7     popup_enabled:
8       type: boolean
9       label: 'Enable banner'
10     popup_clicking_confirmation:
11       type: boolean
12       label: 'Consent by clicking'
13     popup_scrolling_confirmation:
14       type: boolean
15       label: 'Consent by scrolling'
16     eu_only:
17       type: boolean
18       label: 'Only display banner in EU countries'
19     eu_only_js:
20       type: boolean
21       label: 'Only display banner in EU countries (Javascript based)'
22     popup_position:
23       type: boolean
24       label: 'Place the banner at the top of the website'
25     fixed_top_position:
26       type: boolean
27       label: 'If the banner is at the top, don’t scroll the banner with the page'
28     popup_agree_button_message:
29       type: label
30       label: 'Agree button message'
31     popup_disagree_button_message:
32       type: label
33       label: 'Cookie Policy button message'
34     popup_info:
35       type: mapping
36       label: 'Cookie information banner message'
37       mapping:
38         value:
39           type: text
40           label: 'Cookie information banner message - Value'
41         format:
42           type: string
43           label: 'Cookie information banner message - Format'
44     mobile_popup_info:
45       type: mapping
46       label: 'Cookie information banner message - mobile'
47       mapping:
48         value:
49           type: text
50           label: 'Cookie information banner message - mobile - Value'
51         format:
52           type: string
53           label: 'Cookie information banner message - mobile - Format'
54     mobile_breakpoint:
55       type: integer
56       label: 'Mobile breakpoint'
57     popup_agreed_enabled:
58       type: boolean
59       label: 'Enable “Thank you” banner'
60     popup_hide_agreed:
61       type: boolean
62       label: 'Clicking hides “Thank you” banner'
63     popup_find_more_button_message:
64       type: label
65       label: 'More info button label'
66     popup_hide_button_message:
67       type: label
68       label: 'Hide button label'
69     popup_agreed:
70       type: mapping
71       label: 'Thank you banner message'
72       mapping:
73         value:
74           type: text
75           label: 'Thank you banner message - Value'
76         format:
77           type: string
78           label: 'Thank you banner message - Format'
79     popup_link:
80       type: label
81       label: 'Privacy policy link'
82     popup_link_new_window:
83       type: boolean
84       label: 'Open privacy policy link in a new window'
85     popup_height:
86       type: integer
87       label: 'Banner height in pixels'
88     popup_width:
89       type: string
90       label: 'Banner width in pixels or a percentage value'
91     popup_delay:
92       type: integer
93       label: 'Banner sliding animation time in milliseconds'
94     show_disagree_button:
95       type: boolean
96       label: 'Show "Cookie Policy" and "More info" buttons'
97     popup_bg_hex:
98       type: string
99       label: 'Background Color'
100     popup_text_hex:
101       type: string
102       label: 'Text Color'
103     domain:
104       type: string
105       label: 'Domain'
106     domains_option:
107       type: integer
108       label: 'Add/Remove banner on specified domains'
109     domains_list:
110       type: text
111       label: 'Domains list'
112     exclude_paths:
113       type: text
114       label: 'Exclude paths'
115     exclude_admin_theme:
116       type: boolean
117       label: 'Exclude admin pages'
118     cookie_lifetime:
119       type: integer
120       label: 'Cookie lifetime'
121     use_mobile_message:
122       type: boolean
123       label: 'Use a different message for mobile phones'
124     use_bare_css:
125       type: boolean
126       label: 'Include minimal CSS, I want to style the overlay in the theme CSS'
127     disagree_do_not_show_popup:
128       type: boolean
129       label: 'Don’t show cookie policy when the user clicks the “Cookie Policy” button.'
130     reload_page:
131       type: boolean
132       label: 'Reload page after user clicks the “Agree” button.'
133     cookie_name:
134       type: string
135       label: 'Cookie name'
136     exclude_uid_1:
137       type: boolean
138       label: 'Don’t show the banner for UID 1.'
139     better_support_for_screen_readers:
140       type: boolean
141       label: 'Let screen readers see the banner before other links on the page'