public function SmsDeliveryReport::setStatusMessage in SMS Framework 2.1.x
Same name in this branch
- 2.1.x src/Message/SmsDeliveryReport.php \Drupal\sms\Message\SmsDeliveryReport::setStatusMessage()
- 2.1.x src/Entity/SmsDeliveryReport.php \Drupal\sms\Entity\SmsDeliveryReport::setStatusMessage()
Same name and namespace in other branches
- 8 src/Entity/SmsDeliveryReport.php \Drupal\sms\Entity\SmsDeliveryReport::setStatusMessage()
- 2.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 100
Class
- SmsDeliveryReport
- Defines the SMS message delivery report entity.
Namespace
Drupal\sms\EntityCode
public function setStatusMessage($message) {
$this
->set('status_message', $message);
return $this;
}