You are here

function htmlmail_theme in HTML Mail 6

Same name and namespace in other branches
  1. 8.3 htmlmail.module \htmlmail_theme()
  2. 8 htmlmail.module \htmlmail_theme()
  3. 8.2 htmlmail.module \htmlmail_theme()
  4. 6.2 htmlmail.module \htmlmail_theme()
  5. 7.2 htmlmail.module \htmlmail_theme()
  6. 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;
}