You are here

function mimemail_theme_theme in Mime Mail 7

Same name and namespace in other branches
  1. 6 theme/mimemail.theme.inc \mimemail_theme_theme()

@file The theme system, which controls the output of the messages.

1 call to mimemail_theme_theme()
mimemail_theme in ./mimemail.module
Implements hook_theme().

File

theme/mimemail.theme.inc, line 8
The theme system, which controls the output of the messages.

Code

function mimemail_theme_theme() {
  $path = drupal_get_path('module', 'mimemail') . '/theme';
  return array(
    'mimemail_message' => array(
      'variables' => array(
        'module' => NULL,
        'key' => NULL,
        'recipient' => NULL,
        'subject' => NULL,
        'body' => NULL,
        'message' => array(),
      ),
      'template' => 'mimemail-message',
      'pattern' => 'mimemail_message__',
      'file' => 'mimemail.theme.inc',
      'mail theme' => TRUE,
      'path' => $path,
    ),
  );
}