public function SmsDeliveryReport::setStatusMessage in SMS Framework 8
Same name in this branch
- 8 src/Message/SmsDeliveryReport.php \Drupal\sms\Message\SmsDeliveryReport::setStatusMessage()
- 8 src/Entity/SmsDeliveryReport.php \Drupal\sms\Entity\SmsDeliveryReport::setStatusMessage()
Same name and namespace in other branches
- 2.x src/Entity/SmsDeliveryReport.php \Drupal\sms\Entity\SmsDeliveryReport::setStatusMessage()
- 2.1.x src/Entity/SmsDeliveryReport.php \Drupal\sms\Entity\SmsDeliveryReport::setStatusMessage()
Sets the status message.
Parameters
string $message: The status message as provided by the gateway API.
Return value
$this Returns this report object for chaining.
Overrides SmsDeliveryReportInterface::setStatusMessage
File
- src/
Entity/ SmsDeliveryReport.php, line 98
Class
- SmsDeliveryReport
- Defines the SMS message delivery report entity.
Namespace
Drupal\sms\EntityCode
public function setStatusMessage($message) {
$this
->set('status_message', $message);
return $this;
}