You are here

function subscriptions_mail_mail_edit_text in Subscriptions 6

Same name and namespace in other branches
  1. 7 subscriptions_mail.module \subscriptions_mail_mail_edit_text()
  2. 2.0.x subscriptions_mail/subscriptions_mail.module \subscriptions_mail_mail_edit_text()

Implementation of hook_mail_edit_text().

Provide default templates for mail_edit.

File

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

Code

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