You are here

function imagemagick_update_8002 in ImageMagick 8

Adds the 'log_warnings' config setting.

File

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

Code

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