You are here

public function SmsGatewayPluginInterface::send in SMS Framework 8

Same name and namespace in other branches
  1. 2.x src/Plugin/SmsGatewayPluginInterface.php \Drupal\sms\Plugin\SmsGatewayPluginInterface::send()
  2. 2.1.x src/Plugin/SmsGatewayPluginInterface.php \Drupal\sms\Plugin\SmsGatewayPluginInterface::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.

5 methods override SmsGatewayPluginInterface::send()
DefaultCapabilities::send in tests/modules/sms_test_gateway/src/Plugin/SmsGateway/DefaultCapabilities.php
Sends an SMS.
Incoming::send in tests/modules/sms_test_gateway/src/Plugin/SmsGateway/Incoming.php
Sends an SMS.
LogGateway::send in src/Plugin/SmsGateway/LogGateway.php
Sends an SMS.
Memory::send in tests/modules/sms_test_gateway/src/Plugin/SmsGateway/Memory.php
Sends an SMS.
NoIncoming::send in tests/modules/sms_test_gateway/src/Plugin/SmsGateway/NoIncoming.php
Sends an SMS.

File

src/Plugin/SmsGatewayPluginInterface.php, line 26

Class

SmsGatewayPluginInterface
Default implementation of SMS gateway plugin.

Namespace

Drupal\sms\Plugin

Code

public function send(SmsMessageInterface $sms);