public function MobileNumberUtilInterface::sendSms in Mobile Number 2.0.x
Same name and namespace in other branches
- 8 src/MobileNumberUtilInterface.php \Drupal\mobile_number\MobileNumberUtilInterface::sendSms()
Sends an sms, based on callback provided by smsCallback().
Parameters
string $number: A callable number in international format.
string $message: String message, after translation.
Return value
bool SMS callback result, TRUE = success, FALSE otherwise.
1 method overrides MobileNumberUtilInterface::sendSms()
- MobileNumberUtil::sendSms in src/
MobileNumberUtil.php - Sends an sms, based on callback provided by smsCallback().
File
- src/
MobileNumberUtilInterface.php, line 298
Class
- MobileNumberUtilInterface
- Provides an interface for mobile number utility.
Namespace
Drupal\mobile_numberCode
public function sendSms($number, $message);