You are here

function template_preprocess_mimemail_message in Mime Mail 8

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

Implements hook_preprocess_HOOK().

File

./mimemail.module, line 51
Hook implementations for the Mime Mail module.

Code

function template_preprocess_mimemail_message(array &$variables) {
  $variables['module'] = str_replace('_', '-', $variables['module']);
  $variables['key'] = str_replace('_', '-', $variables['key']);
}