You are here

function admin_content_notification_mail in Admin Content Notification 8.2

Same name and namespace in other branches
  1. 8.3 admin_content_notification.module \admin_content_notification_mail()
  2. 8 admin_content_notification.module \admin_content_notification_mail()
  3. 7.2 admin_content_notification.module \admin_content_notification_mail()
  4. 7 admin_content_notification.module \admin_content_notification_mail()

Implements hook_mail().

File

./admin_content_notification.module, line 93
Module File, consist all related hooks.

Code

function admin_content_notification_mail($key, &$message, $params) {
  switch ($key) {
    case 'admin_content_notification_key':
      $message['subject'] = $params['subject'];
      $message['body'][] = $params['body'];
      break;
  }
}