You are here

function sms_user_token_list in SMS Framework 6

Same name and namespace in other branches
  1. 5 modules/sms_user/sms_user.module \sms_user_token_list()
  2. 6.2 modules/sms_user/sms_user.module \sms_user_token_list()

Implementation of hook_token_list()

File

modules/sms_user/sms_user.module, line 460
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;
}