5 * Helper module for the html mail and url conversion tests.
9 * Implements hook_mail().
11 function mail_html_test_mail($key, &$message, $params) {
13 case 'render_from_message_param':
14 $message['body'][] = \Drupal::service('renderer')->renderPlain($params['message']);