public function NoIncoming::send in SMS Framework 8
Same name and namespace in other branches
- 2.x tests/modules/sms_test_gateway/src/Plugin/SmsGateway/NoIncoming.php \Drupal\sms_test_gateway\Plugin\SmsGateway\NoIncoming::send()
- 2.1.x tests/modules/sms_test_gateway/src/Plugin/SmsGateway/NoIncoming.php \Drupal\sms_test_gateway\Plugin\SmsGateway\NoIncoming::send()
Sends an SMS.
Parameters
\Drupal\sms\Message\SmsMessageInterface $sms: The sms to be sent.
Return value
\Drupal\sms\Message\SmsMessageResultInterface The result of the sms messaging operation.
Overrides SmsGatewayPluginInterface::send
File
- tests/
modules/ sms_test_gateway/ src/ Plugin/ SmsGateway/ NoIncoming.php, line 21
Class
- NoIncoming
- Defines a gateway which does not implement incoming messages.
Namespace
Drupal\sms_test_gateway\Plugin\SmsGatewayCode
public function send(SmsMessageInterface $sms) {
}