public function DefaultCapabilities::send in SMS Framework 8
Same name and namespace in other branches
- 2.x tests/modules/sms_test_gateway/src/Plugin/SmsGateway/DefaultCapabilities.php \Drupal\sms_test_gateway\Plugin\SmsGateway\DefaultCapabilities::send()
- 2.1.x tests/modules/sms_test_gateway/src/Plugin/SmsGateway/DefaultCapabilities.php \Drupal\sms_test_gateway\Plugin\SmsGateway\DefaultCapabilities::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/ DefaultCapabilities.php, line 24
Class
- DefaultCapabilities
- A gateway for testing undefined capability annotation values.
Namespace
Drupal\sms_test_gateway\Plugin\SmsGatewayCode
public function send(SmsMessageInterface $sms) {
}