You are here

function juicerio_update_8002 in Juicer - Social Media Feed Aggregator 8

Due to support alternate libraries, add in the default Javascript embed.

File

./juicerio.install, line 29
Contains Drupal\juicerio\juicerio.install.

Code

function juicerio_update_8002() {
  $config_factory = \Drupal::configFactory();
  $config = $config_factory
    ->getEditable('juicerio.settings');
  $config
    ->set('juicer_js_embed', 'juicerio.embed_no_jquery');
  $config
    ->save(TRUE);
}