function swiftmailer_theme in Swift Mailer 8
Same name and namespace in other branches
- 8.2 swiftmailer.module \swiftmailer_theme()
- 7 swiftmailer.module \swiftmailer_theme()
Implements hook_theme().
File
- ./
swiftmailer.module, line 64 - This is the primary module file.
Code
function swiftmailer_theme($existing, $type, $theme, $path) {
return [
'swiftmailer' => [
'variables' => [
'message' => [],
],
'mail theme' => TRUE,
],
];
}