You are here

function cdn_update_8003 in CDN 8.3

Add the new "scheme" setting, set it to its default initial value.

File

./cdn.install, line 34
Update functions for the CDN module.

Code

function cdn_update_8003() {
  \Drupal::configFactory()
    ->getEditable('cdn.settings')
    ->set('scheme', '//')
    ->save();
}