You are here

gin_lb.install in Gin Layout Builder 1.0.x

Provides install/uninstall for gin_lb module.

File

gin_lb.install
View source
<?php

/**
 * @file
 * Provides install/uninstall for gin_lb module.
 */

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

Functions

Namesort descending Description
gin_lb_update_8001 Set new Toastify CDN config.