function tfa_basic_sms_create in TFA Basic plugins 7
Create TfaBasicSms plugin.
Parameters
array $context:
Return value
File
- ./
tfa_basic.module, line 222
Code
function tfa_basic_sms_create($context) {
$account = user_load($context['uid']);
$number = tfa_basic_get_mobile_number($account);
$client = tfa_basic_get_twilio_client();
return new TfaBasicSms($context, $number, $client);
}