You are here

function user_mail_edit_text in Mail Editor 7

Same name and namespace in other branches
  1. 6 mail_edit_user.inc \user_mail_edit_text()

Implements hook_mail_edit_text().

Parameters

string $mailkey:

object $language:

Return value

array

1 call to user_mail_edit_text()
logintoboggan_mail_edit_text in modules/mail_edit.logintoboggan.inc
Implements hook_mail_edit_text().

File

modules/mail_edit.user.inc, line 35
A sample implementation of Mail Editor hooks for User core module.

Code

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