You are here

function varbase_core_update_8600 in Varbase Core 8.6

Same name and namespace in other branches
  1. 8.8 varbase_core.install \varbase_core_update_8600()
  2. 8.7 varbase_core.install \varbase_core_update_8600()
  3. 9.0.x varbase_core.install \varbase_core_update_8600()

Enable [Varbase Update Helper] module.

File

./varbase_core.install, line 71
Install, update and uninstall functions for the Varbase core module.

Code

function varbase_core_update_8600() {
  if (!\Drupal::moduleHandler()
    ->moduleExists('varbase_update_helper')) {
    \Drupal::service('module_installer')
      ->install([
      'checklistapi',
      'update_helper',
      'update_helper_checklist',
      'varbase_update_helper',
    ], FALSE);
  }
}