You are here

public function MobileNumberUtilInterface::smsCallback in Mobile Number 2.0.x

Same name and namespace in other branches
  1. 8 src/MobileNumberUtilInterface.php \Drupal\mobile_number\MobileNumberUtilInterface::smsCallback()

Gets sms callback for sending SMS's. The callback should accept $number and $message, and returns status booleans.

Return value

callable SMS callback.

1 method overrides MobileNumberUtilInterface::smsCallback()
MobileNumberUtil::smsCallback in src/MobileNumberUtil.php
Gets sms callback for sending SMS's. The callback should accept $number and $message, and returns status booleans.

File

src/MobileNumberUtilInterface.php, line 277

Class

MobileNumberUtilInterface
Provides an interface for mobile number utility.

Namespace

Drupal\mobile_number

Code

public function smsCallback();