You are here

function phone_token_list in Phone 7

Same name and namespace in other branches
  1. 6 phone.module \phone_token_list()

Implementation of hook token_list

File

./phone.module, line 271

Code

function phone_token_list($type = 'all') {
  if ($type == 'field' || $type == 'all') {
    $tokens['phone']['raw'] = t('Raw phone numbers');
    $tokens['phone']['formatted'] = t('Formatted phone numbers');
    return $tokens;
  }
}