function registration_mail in Entity Registration 7
Same name and namespace in other branches
- 8.2 registration.module \registration_mail()
- 8 registration.module \registration_mail()
- 7.2 registration.module \registration_mail()
Implements hook_mail().
File
- ./
registration.module, line 1048
Code
function registration_mail($key, &$message, $params) {
$subject = $params['subject'];
$body = $params['message'];
$message['subject'] .= str_replace(array(
"\r",
"\n",
), '', $subject);
$message['body'][] = drupal_html_to_text($body);
}