You are here

function referral_token_list in User Referral 6

Implementation of hook_token_list().

File

./referral.module, line 582

Code

function referral_token_list($type = 'all') {
  if ($type == 'user' || $type == 'all') {
    $tokens['user'] = array(
      'referral-link' => t('The referral link for this user.'),
    );
    return $tokens;
  }
}