You are here

function language_cookie_update_8001 in Language Cookie 8

Set default value for the secure option.

File

./language_cookie.install, line 45
The install and update code for the language_cookie module.

Code

function language_cookie_update_8001(&$sandbox) {
  \Drupal::configFactory()
    ->getEditable('language_cookie.negotiation')
    ->set('secure', FALSE)
    ->save();
}