public function SmsMessageResult::getSmsMessage in SMS Framework 2.x
Same name and namespace in other branches
- 8 src/Entity/SmsMessageResult.php \Drupal\sms\Entity\SmsMessageResult::getSmsMessage()
- 2.1.x src/Entity/SmsMessageResult.php \Drupal\sms\Entity\SmsMessageResult::getSmsMessage()
Gets the parent SMS message entity.
Return value
\Drupal\sms\Entity\SmsMessageInterface The parent SMS message entity.
Overrides SmsMessageResultInterface::getSmsMessage
2 calls to SmsMessageResult::getSmsMessage()
- SmsMessageResult::getReports in src/
Entity/ SmsMessageResult.php - Gets the delivery reports for all recipients.
- SmsMessageResult::preSave in src/
Entity/ SmsMessageResult.php - Acts on an entity before the presave hook is invoked.
File
- src/
Entity/ SmsMessageResult.php, line 161
Class
- SmsMessageResult
- Defines the SMS message result entity.
Namespace
Drupal\sms\EntityCode
public function getSmsMessage() {
return $this
->get('sms_message')->entity;
}