You are here

public function SmsDeliveryReportInterface::setSmsMessage in SMS Framework 8

Same name and namespace in other branches
  1. 2.x src/Entity/SmsDeliveryReportInterface.php \Drupal\sms\Entity\SmsDeliveryReportInterface::setSmsMessage()
  2. 2.1.x src/Entity/SmsDeliveryReportInterface.php \Drupal\sms\Entity\SmsDeliveryReportInterface::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.

1 method overrides SmsDeliveryReportInterface::setSmsMessage()
SmsDeliveryReport::setSmsMessage in src/Entity/SmsDeliveryReport.php
Sets the parent SMS message entity.

File

src/Entity/SmsDeliveryReportInterface.php, line 31

Class

SmsDeliveryReportInterface
Interface for SMS delivery report entity.

Namespace

Drupal\sms\Entity

Code

public function setSmsMessage(SmsMessageInterface $sms_message);