You are here

function eu_cookie_compliance_update_8117 in EU Cookie Compliance (GDPR Compliance) 8

Add config variable for containing element.

File

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

Code

function eu_cookie_compliance_update_8117() {
  \Drupal::configFactory()
    ->getEditable('eu_cookie_compliance.settings')
    ->set('containing_element', 'body')
    ->save();
}