You are here

function eu_cookie_compliance_update_8105 in EU Cookie Compliance (GDPR Compliance) 8

Create new config value for show or hide the cookie policy button.

File

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

Code

function eu_cookie_compliance_update_8105() {
  \Drupal::configFactory()
    ->getEditable('eu_cookie_compliance.settings')
    ->set('show_disagree_button', TRUE)
    ->save();
}