devel_test.module in Devel 8.3
Same filename and directory in other branches
Helper module for devel test.
File
tests/modules/devel_test/devel_test.moduleView source
<?php
/**
* @file
* Helper module for devel test.
*/
/**
* Implements hook_mail().
*/
function devel_test_mail($key, &$message, $params) {
switch ($key) {
case 'devel_mail_log':
$message['subject'] = $params['subject'];
$message['body'][] = $params['body'];
$message['headers']['From'] = $params['headers']['from'];
$message['headers'] += $params['headers']['additional'];
break;
}
}
Functions
Name![]() |
Description |
---|---|
devel_test_mail | Implements hook_mail(). |