You are here

function invite_get_subject in Invite 5

Same name and namespace in other branches
  1. 5.2 invite.module \invite_get_subject()
  2. 6.2 invite.module \invite_get_subject()
  3. 7.2 invite.module \invite_get_subject()

Return the invite e-mail subject.

Parameters

$substitutions: Associative array of substitutions for token replacement.

Return value

The e-mail subject.

2 calls to invite_get_subject()
invite_form in ./invite.module
Generate the invite form.
invite_form_submit in ./invite.module
Forms API callback; processes the incoming form data.

File

./invite.module, line 959
Allows your users to send and track invitations to join your site.

Code

function invite_get_subject($substitutions = array()) {
  $subject = t(variable_get('invite_subject', t('[inviter-raw] has sent you an invite!')));
  return token_replace_multiple($subject, _invite_token_types($substitutions));
}