You are here

public function SmsMessageInterface::setMessage in SMS Framework 8

Same name and namespace in other branches
  1. 2.x src/Message/SmsMessageInterface.php \Drupal\sms\Message\SmsMessageInterface::setMessage()
  2. 2.1.x src/Message/SmsMessageInterface.php \Drupal\sms\Message\SmsMessageInterface::setMessage()

Set the message to be sent.

Parameters

string $message: The message to be sent.

Return value

$this The called SMS message object.

2 methods override SmsMessageInterface::setMessage()
SmsMessage::setMessage in src/Message/SmsMessage.php
Set the message to be sent.
SmsMessage::setMessage in src/Entity/SmsMessage.php
Set the message to be sent.

File

src/Message/SmsMessageInterface.php, line 221

Class

SmsMessageInterface
Contains information about an SMS message.

Namespace

Drupal\sms\Message

Code

public function setMessage($message);