You are here

function cdn_update_8002 in CDN 8.3

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

File

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

Code

function cdn_update_8002() {
  \Drupal::configFactory()
    ->getEditable('cdn.settings')
    ->set('stream_wrappers', [
    'public',
  ])
    ->save();
}