function htmlmail_theme in HTML Mail 6
Same name and namespace in other branches
- 8.3 htmlmail.module \htmlmail_theme()
- 8 htmlmail.module \htmlmail_theme()
- 8.2 htmlmail.module \htmlmail_theme()
- 6.2 htmlmail.module \htmlmail_theme()
- 7.2 htmlmail.module \htmlmail_theme()
- 7 htmlmail.module \htmlmail_theme()
Implementation of hook_theme().
File
- ./
htmlmail.module, line 118 - Send system emails in HTML
Code
function htmlmail_theme() {
$items['htmlmail'] = array(
'template' => 'htmlmail',
'arguments' => array(
'body' => NULL,
'key' => NULL,
),
);
if (module_exists('token')) {
$items['htmlmail_token_help'] = array(
'arguments' => array(
'prefix' => '[',
'suffix' => ']',
),
);
}
return $items;
}