You are here

function invite_token_list in Invite 5

Same name and namespace in other branches
  1. 5.2 invite_token.inc \invite_token_list()
  2. 6.2 invite_token.inc \invite_token_list()

Implementation of hook_token_list().

File

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

Code

function invite_token_list($type = 'all') {
  if ($type == 'invite' || $type == 'all') {
    $tokens['invite']['inviter-raw'] = t("Inviter's name. WARNING - raw user input.");
    $tokens['invite']['invite-mail'] = t('The e-mail address of the invited user.');
    $tokens['invite']['invite-message-raw'] = t('The personal message for the invitee as unfiltered text. WARNING - raw user input.');
    $tokens['invite']['join-link'] = t('The link to the registration page of the site.');
    return $tokens;
  }
}