function varbase_update_8012 in Varbase: The Ultimate Drupal CMS Starter Kit (Bootstrap Ready) 8.4
Enable SMTP Authentication Support module.
File
- ./
varbase.install, line 243 - Install, update and uninstall functions for the Varbase installation profile.
Code
function varbase_update_8012() {
if (!\Drupal::moduleHandler()
->moduleExists('smtp')) {
\Drupal::service('module_installer')
->install([
'smtp',
], FALSE);
}
}