public function SmsDeliveryReport::setSmsMessage in SMS Framework 8
Same name and namespace in other branches
- 2.x src/Entity/SmsDeliveryReport.php \Drupal\sms\Entity\SmsDeliveryReport::setSmsMessage()
- 2.1.x src/Entity/SmsDeliveryReport.php \Drupal\sms\Entity\SmsDeliveryReport::setSmsMessage()
Sets the parent SMS message entity.
Parameters
\Drupal\sms\Entity\SmsMessageInterface $sms_message: The parent SMS message object.
Return value
$this Returns this report object for chaining.
Overrides SmsDeliveryReportInterface::setSmsMessage
File
- src/
Entity/ SmsDeliveryReport.php, line 164
Class
- SmsDeliveryReport
- Defines the SMS message delivery report entity.
Namespace
Drupal\sms\EntityCode
public function setSmsMessage(SmsMessageInterface $sms_message) {
$this
->set('sms_message', $sms_message);
return $this;
}