public function SmsMessage::setMessage in SMS Framework 2.x
Same name in this branch
- 2.x src/Message/SmsMessage.php \Drupal\sms\Message\SmsMessage::setMessage()
- 2.x src/Entity/SmsMessage.php \Drupal\sms\Entity\SmsMessage::setMessage()
Same name and namespace in other branches
- 8 src/Message/SmsMessage.php \Drupal\sms\Message\SmsMessage::setMessage()
- 2.1.x src/Message/SmsMessage.php \Drupal\sms\Message\SmsMessage::setMessage()
Set the message to be sent.
Parameters
string $message: The message to be sent.
Return value
$this The called SMS message object.
Overrides SmsMessageInterface::setMessage
1 call to SmsMessage::setMessage()
- SmsMessage::__construct in src/
Message/ SmsMessage.php - Creates a new instance of an SMS message.
File
- src/
Message/ SmsMessage.php, line 158
Class
- SmsMessage
- Basic implementation of an SMS message.
Namespace
Drupal\sms\MessageCode
public function setMessage($message) {
$this->message = $message;
return $this;
}