You are here

function subscriptions_mail_subscriptions_mail_text in Subscriptions 6

Implementation of hook_subscriptions_mail_text().

Provide default templates for mail_edit.

File

./subscriptions_mail.module, line 179
Subscriptions module mail gateway.

Code

function subscriptions_mail_subscriptions_mail_text($mailkey, $language) {
  include_once drupal_get_path('module', 'subscriptions_mail') . '/subscriptions_mail.templates.inc';
  $return = array();
  $return['subject'] = subscriptions_mail_template('SUBJ', $language->language);
  $return['body'] = subscriptions_mail_template('BODY', $language->language);
  return $return;
}