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