You are here

function mimemail_theme_theme in Mime Mail 6

Same name and namespace in other branches
  1. 7 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() {
  return array(
    'mimemail_message' => array(
      'arguments' => array(
        'subject' => NULL,
        'body' => NULL,
        'mailkey' => NULL,
        'recipient' => NULL,
      ),
      'template' => 'mimemail-message',
      'pattern' => 'mimemail_message__',
      'file' => 'mimemail.theme.inc',
      'path' => drupal_get_path('module', 'mimemail') . '/theme',
    ),
  );
}