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