function maillog_install in Maillog / Mail Developer 8
Same name and namespace in other branches
- 6 maillog.install \maillog_install()
Implements hook_install().
File
- ./
maillog.install, line 13 - Provides the installation and update routines for the Maillog module.
Code
function maillog_install() {
$config = \Drupal::configFactory()
->getEditable('system.mail');
$config
->set('interface.default', 'maillog');
$config
->save();
}