You are here

public function Incoming::send in SMS Framework 8

Same name and namespace in other branches
  1. 2.x tests/modules/sms_test_gateway/src/Plugin/SmsGateway/Incoming.php \Drupal\sms_test_gateway\Plugin\SmsGateway\Incoming::send()
  2. 2.1.x tests/modules/sms_test_gateway/src/Plugin/SmsGateway/Incoming.php \Drupal\sms_test_gateway\Plugin\SmsGateway\Incoming::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/Incoming.php, line 32

Class

Incoming
Defines a gateway supporting incoming route.

Namespace

Drupal\sms_test_gateway\Plugin\SmsGateway

Code

public function send(SmsMessageInterface $sms) {
}