function sms_token_info in SMS Framework 7
Same name and namespace in other branches
- 8 sms.tokens.inc \sms_token_info()
- 2.x sms.tokens.inc \sms_token_info()
- 2.1.x sms.tokens.inc \sms_token_info()
Implements hook_token_info().
File
- ./
sms.tokens.inc, line 11 - Token callbacks for the sms module.
Code
function sms_token_info() {
$info['types']['sms'] = array(
'name' => t('SMS'),
'needs-data' => 'sms',
'description' => t("SMS"),
);
$info['tokens']['sms']['number'] = array(
'name' => t('Number'),
'description' => t("SMS Phone Number."),
);
$info['tokens']['sms']['message'] = array(
'name' => t('Message'),
'description' => t("SMS Mesage."),
);
return $info;
}