You are here

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

Enable mail system module.

File

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

Code

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