You are here

function imagemagick_update_8001 in ImageMagick 8

Adds the 'locale' config setting.

File

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

Code

function imagemagick_update_8001() {
  $config_factory = \Drupal::configFactory();
  $setting = $config_factory
    ->getEditable('imagemagick.settings')
    ->set('locale', 'en_US.UTF-8')
    ->save(TRUE);
}