function easy_email_install in Easy Email 8
Same name and namespace in other branches
- 2.0.x easy_email.install \easy_email_install()
Implements hook_install().
File
- ./
easy_email.install, line 6
Code
function easy_email_install($is_syncing) {
if (!$is_syncing) {
$settings = Drupal::configFactory()
->getEditable('mailsystem.settings');
$settings
->set('modules.easy_email.none', [
'formatter' => 'swiftmailer',
'sender' => 'swiftmailer',
])
->save();
}
}