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