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