You are here

function imagecache_external_update_8101 in Imagecache External 8

Add imagecache_external_batch_flush_limit to the default configuration.

File

./imagecache_external.install, line 49
Uninstall, install, and update functions.

Code

function imagecache_external_update_8101() {
  $config_factory = \Drupal::configFactory();
  $config = $config_factory
    ->getEditable('imagecache_external.settings');
  $config
    ->set('imagecache_external_batch_flush_limit', 1000);
  $config
    ->save(TRUE);
}