You are here

function ga_update_8104 in Googalytics - Google Analytics 8

Add default force SSL setting to configuration.

File

./ga.install, line 87
Contains ga module installation and update hooks.

Code

function ga_update_8104() {
  \Drupal::configFactory()
    ->getEditable('ga.settings')
    ->set('force_ssl', FALSE)
    ->save();
}