You are here

public function SmsMessageResultInterface::setSmsMessage in SMS Framework 8

Same name and namespace in other branches
  1. 2.x src/Entity/SmsMessageResultInterface.php \Drupal\sms\Entity\SmsMessageResultInterface::setSmsMessage()
  2. 2.1.x src/Entity/SmsMessageResultInterface.php \Drupal\sms\Entity\SmsMessageResultInterface::setSmsMessage()

Sets the parent SMS message entity.

Parameters

\Drupal\sms\Entity\SmsMessageInterface $sms_message: The parent SMS message object.

Return value

$this

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

File

src/Entity/SmsMessageResultInterface.php, line 29

Class

SmsMessageResultInterface
Interface for SMS message result entity.

Namespace

Drupal\sms\Entity

Code

public function setSmsMessage(SmsMessageInterface $sms_message);