You are here

function cookiebot_update_7001 in Cookiebot - Cookie consent, Cookie monitoring and Cookie control 7

Update configuration keys.

File

./cookiebot.install, line 23
Contains install, uninstall and update functions for Cookiebot.

Code

function cookiebot_update_7001() {

  // Set defaults for new variables
  variable_set('cookiebot_block_cookies', TRUE);
  variable_set('cookiebot_iab_enabled', FALSE);
  variable_set('cookiebot_exclude_paths', '');
  variable_set('cookiebot_exclude_admin_theme', FALSE);
  variable_set('cookiebot_exclude_uid_1', FALSE);
}