You are here

function user_mail_edit_text in Mail Editor 6

Same name and namespace in other branches
  1. 7 modules/mail_edit.user.inc \user_mail_edit_text()

Implementation of hook_mail_edit_text().

1 call to user_mail_edit_text()
logintoboggan_mail_edit_text in ./mail_edit_logintoboggan.inc
Implementation of hook_mail_edit_text().

File

./mail_edit_user.inc, line 82
A sample implementation of Mail Editor hooks for User core module.

Code

function user_mail_edit_text($mailkey, $langcode) {
  $return = array();
  $return['subject'] = _user_mail_text($mailkey . '_subject', $langcode);
  $return['body'] = _user_mail_text($mailkey . '_body', $langcode);
  return $return;
}