You are here

function advagg_cdn_update_8300 in Advanced CSS/JS Aggregation 8.3

Same name and namespace in other branches
  1. 8.4 advagg_cdn/advagg_cdn.install \advagg_cdn_update_8300()

Implements hook_update_N().

Update selected jQuery/jQuery UI versions to latest used in Drupal core.

File

advagg_cdn/advagg_cdn.install, line 51
Handles Advanced Aggregation installation and upgrade tasks.

Code

function advagg_cdn_update_8300() {

  /** @var \Drupal\Core\Config\Config $config */
  $config = \Drupal::configFactory()
    ->getEditable('advagg_cdn.settings');
  $config
    ->set('jquery_version', '3.2.1')
    ->set('jquery_ui_version', '1.12.1')
    ->save();
}