You are here

function _sms_user_confirm_message in SMS Framework 6

Same name and namespace in other branches
  1. 5 modules/sms_user/sms_user.module \_sms_user_confirm_message()
  2. 6.2 modules/sms_user/sms_user.module \_sms_user_confirm_message()
  3. 7 modules/sms_user/sms_user.module \_sms_user_confirm_message()
1 call to _sms_user_confirm_message()
sms_user_send_confirmation in modules/sms_user/sms_user.module

File

modules/sms_user/sms_user.module, line 379
Provides integration between the SMS Framework and Drupal users.

Code

function _sms_user_confirm_message($code) {
  $text_format = variable_get('sms_user_confirmation_message', '[site-name] confirmation code: [confirm-code]');
  $text = token_replace_multiple($text_format, array(
    'sms_user' => array(
      'confirm-code' => $code,
    ),
  ));
  return $text;
}