You are here

function eu_cookie_compliance_update_8118 in EU Cookie Compliance (GDPR Compliance) 8

Add config variable for privacy settings tab.

File

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

Code

function eu_cookie_compliance_update_8118() {
  \Drupal::configFactory()
    ->getEditable('eu_cookie_compliance.settings')
    ->set('settings_tab_enabled', FALSE)
    ->save();
}