function sms_user_token_list in SMS Framework 5
Same name and namespace in other branches
- 6.2 modules/sms_user/sms_user.module \sms_user_token_list()
- 6 modules/sms_user/sms_user.module \sms_user_token_list()
Implementation of hook_token_list()
File
- modules/
sms_user/ sms_user.module, line 467 - Provides integration between the SMS Framework and Drupal users.
Code
function sms_user_token_list($type = 'all') {
if ($type = 'sms_user') {
$tokens['sms_user']['confirm-code'] = t('The mobile confirmation code for the user.');
$tokens['sms_user']['mobile-url'] = t('The URL for the user\'s mobile settings page.');
}
return $tokens;
}