You are here

function imagemagick_update_8202 in ImageMagick 8.2

Adds the 'prepend_pre_source' config setting.

File

./imagemagick.install, line 50
ImageMagick installation scripts.

Code

function imagemagick_update_8202() {
  $config_factory = \Drupal::configFactory();
  $setting = $config_factory
    ->getEditable('imagemagick.settings')
    ->set('prepend_pre_source', FALSE)
    ->save(TRUE);
}