You are here

function userpoints_token_list in User Points 6

Implementation of hook_token_list().

File

./userpoints.module, line 256

Code

function userpoints_token_list($type = 'all') {
  if ($type == 'user' || $type == 'all') {
    $tokens['user'] = array(
      'userpoints' => t('The number of points a user has.'),
    );
    return $tokens;
  }
}