You are here

function eu_cookie_compliance_update_8121 in EU Cookie Compliance (GDPR Compliance) 8

Add config variable for cookie policy version.

File

./eu_cookie_compliance.install, line 490
Update scripts for the EU Cookie Compliance module.

Code

function eu_cookie_compliance_update_8121() {
  \Drupal::configFactory()
    ->getEditable('eu_cookie_compliance.settings')
    ->set('cookie_policy_version', '1.0.0')
    ->save();
}