You are here

function gin_lb_update_8001 in Gin Layout Builder 1.0.x

Set new Toastify CDN config.

File

./gin_lb.install, line 11
Provides install/uninstall for gin_lb module.

Code

function gin_lb_update_8001() {
  $config_factory = \Drupal::configFactory();
  $config = $config_factory
    ->getEditable('gin_lb.settings');
  $config
    ->set('toastify_cdn', 1);
  $config
    ->save(TRUE);
}