You are here

function language_cookie_update_8002 in Language Cookie 8

Set default value for the http_only option.

File

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

Code

function language_cookie_update_8002(&$sandbox) {
  \Drupal::configFactory()
    ->getEditable('language_cookie.negotiation')
    ->set('http_only', TRUE)
    ->save();
}