You are here

public function DefaultCapabilities::send in SMS Framework 2.1.x

Same name and namespace in other branches
  1. 8 tests/modules/sms_test_gateway/src/Plugin/SmsGateway/DefaultCapabilities.php \Drupal\sms_test_gateway\Plugin\SmsGateway\DefaultCapabilities::send()
  2. 2.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 26

Class

DefaultCapabilities
A gateway for testing undefined capability annotation values.

Namespace

Drupal\sms_test_gateway\Plugin\SmsGateway

Code

public function send(SmsMessageInterface $sms) {
}