Install
Works with Drupal: ^8.9 || ^9 || ^10Using Composer to manage Drupal site dependencies
Alternative installation files
Release notes
1.20 supports Drupal 10!
1.20 brings support for Content Security Policy to the module, makes it possible to display the withdraw button anywhere on the page through a block, adds an option to retrigger the popup when no policy version is set, and comes with migration code for moving the settings of this module from a Drupal 7 site to 8 or 9.
It fixes bugs with geolocation and the feature to display the banner only to EU users, overhauls the display of banners at the top of pages, fixes an issue where the settings form couldn't be saved when the Thank you text was empty, improves exclusion of admin pages, fixes an issue where the withdraw button wasn't shown, as well as 19 other bugs.
New features
- #3029549: [2.x] Compatibility with Content Security Policy by svenryen, caco_d25, gapple, jimconte, Anybody
- #2985390: [1.x] Option to place Withdraw Button anywhere on site (e.g. in block) by Anybody, svenryen, jo.st, flefle, MrPaulDriver, upunkt, leymannx, bramvandenbulcke, gabrimonfa, Grayle, portulaca, anderz, RobbM
- #3170219: [1.x][2.0.x] Option to retrigger popup instead of trying to prevent it when no policy version is set by reszli, svenryen, PieterDC
- #3264116: Migration from D7 to D9 by srishti.bankar, narendraR, huzooka
Bug fixes
- #3269129: When geolocation, Privacy settings tab still shows for non-GDPR users by John_B
- #3277316: Regression: Body class not added anymore by Michael Zetterberg fd. Lopez
- #3259005: Deprecated use of file_url_transform_relative and file_create_url by svenryen, heddn
- #3262568: Category-wise script execution order anomaly by progga, svenryen
- #3244003: D8: Fixed top banner disappears on resize by svenryen
- #3269529: Warning "Your privacy policy link is pointing at the front page" should be ommited when there is no translation active by svenryen, ProperCroc
- #3262506: Can't submit eu cookie compliance settings form (again) by svenryen, maximpodorov, manuga
- #3243001: Banner at top is not hiding correctly by andybroomfield, svenryen
- #3236590: Exclude admin pages is not working by svenryen, Neslee Canil Pinto, kevinquillen, endrukk, Ambient.Impact, tanc
- #3272638: Body classes not updated on consent selection
- #3272556: Body class not added anymore by Michael Zetterberg fd. Lopez, svenryen
- #3270780: "Invalid character in Config object name eu_cookie_compliance.cookie_category" in eu_cookie_compliance_update_8123 by vidorado, svenryen
- #3252865: Config is missing dependency on filter formats by Taran2L, svenryen, Karol Haltenberger
- #3251915: Missing config value leads to an "undefined index" error by dtabirca, pthurmond, svenryen
- #3274594: 8.x: We sometimes hit the cache before getting geographic location by svenryen, John_B
- #3210365: Fix config schema violation by andretth, svenryen, mxr576, Boobaa, lesleyfernandes
- #3257088: Withdraw button not visible by svenryen, Ambient.Impact, pasperbla
- #3274473: Drupal 10 compatibility by svenryen
- #3274387: Problem with cache clearing by svenryen
- #3239361: "Uncaught TypeError: $.cookie is not a function" JS error after update to 1.16 by agoradesign, superbiche, svenryen, jckresko, miiimooo
- #3259010: Deprecated use of core/jquery.once by heddn
- #3254209: Changing cookie policy version will mean the banner can never be dismissed by svenryen, IT-Cru, Driskell
- #3241333: Uncaught SyntaxError: Unexpected token % in JSON at position 0 by svenryen, flefle, crmn, Jeslin.Shaji, onedotover
- #3042393: Update 1.2 to 1.5 causes Problems in .module with __toString() by gngn, ro-no-lo, svenryen, SaraKlasson