You are here

function varbase_update_8016 in Varbase: The Ultimate Drupal CMS Starter Kit (Bootstrap Ready) 8.4

Enable Image Optimize (or ImageAPI Optimize) module.

File

./varbase.install, line 279
Install, update and uninstall functions for the Varbase installation profile.

Code

function varbase_update_8016() {
  if (!\Drupal::moduleHandler()
    ->moduleExists('imageapi_optimize')) {
    \Drupal::service('module_installer')
      ->install([
      'imageapi_optimize',
    ], FALSE);
  }
}