You are here

function invite_get_subject in Invite 5.2

Same name and namespace in other branches
  1. 5 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_submit in ./invite.module
Forms API callback; process submitted form data.
invite_page_form in ./invite.module
Generate the invite page form.

File

./invite.module, line 1059
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));
}