You are here

function eu_cookie_compliance_update_8116 in EU Cookie Compliance (GDPR Compliance) 8

Add option for pages to be reloaded.

File

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

Code

function eu_cookie_compliance_update_8116() {
  \Drupal::configFactory()
    ->getEditable('eu_cookie_compliance.settings')
    ->set('reload_options', 0)
    ->set('reload_routes_list', '')
    ->save();
}