function phone_token_list in Phone 6
Same name and namespace in other branches
- 7 phone.module \phone_token_list()
Implementation of hook token_list
File
- ./
phone.module, line 987 - Defines phone number fields for CCK. Provide some verifications on the phone numbers
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;
}
}