' . t('About') . ''; $output .= '
' . t('My Awesome Module') . '
'; return $output; default: } } /** * Implements hook_mail(). */ function materio_expo_mail($key, &$message, $params) { switch ($key) { case 'expo_getmail_submitted': $message['from'] = \Drupal::config('system.site')->get('mail'); $message['subject'] = t('[EXPO] mail submitted: @mail', array('@mail' => $params['email'])); $message['body'][] = $params['message']; break; } }