function template_preprocess_swiftmailer__contact in Contact Storage 8
Prepares variables for contact mail templates.
Parameters
array $variables: An associative array containing:
- message: An associative array containing the message array.
- body: The processed body.
File
- ./
contact_storage.module, line 474 - Contains main module logic.
Code
function template_preprocess_swiftmailer__contact(&$variables) {
$variables['subject'] = $variables['message']['subject'];
$variables['body'] = $variables['message']['body'];
}