function sms_user_settings_add_form in SMS Framework 5
Same name and namespace in other branches
- 6.2 modules/sms_user/sms_user.module \sms_user_settings_add_form()
- 6 modules/sms_user/sms_user.module \sms_user_settings_add_form()
- 7 modules/sms_user/sms_user.module \sms_user_settings_add_form()
1 string reference to 'sms_user_settings_add_form'
- sms_user_settings in modules/
sms_user/ sms_user.module - Menu callback; provides the forms for adding and confirming a user's mobile number.
File
- modules/
sms_user/ sms_user.module, line 128 - Provides integration between the SMS Framework and Drupal users.
Code
function sms_user_settings_add_form($account) {
$form = sms_send_form();
$form['submit'] = array(
'#type' => 'submit',
'#value' => t('Confirm number'),
);
return $form;
}