You are here

function fac_update_8100 in Fast Autocomplete 8

Set the new "use CDN" option to the default value of TRUE.

File

./fac.install, line 27
This file contains the install/update/uninstall functions of the fac module.

Code

function fac_update_8100() {
  $config_factory = \Drupal::configFactory();
  $config = $config_factory
    ->getEditable('fac.settings');
  $config
    ->set('highlighting_script_use_cdn', TRUE);
  $config
    ->save(TRUE);
}