You are here

public function SmsDeliveryReport::getStatusMessage in SMS Framework 2.x

Same name in this branch
  1. 2.x src/Message/SmsDeliveryReport.php \Drupal\sms\Message\SmsDeliveryReport::getStatusMessage()
  2. 2.x src/Entity/SmsDeliveryReport.php \Drupal\sms\Entity\SmsDeliveryReport::getStatusMessage()
Same name and namespace in other branches
  1. 8 src/Entity/SmsDeliveryReport.php \Drupal\sms\Entity\SmsDeliveryReport::getStatusMessage()
  2. 2.1.x src/Entity/SmsDeliveryReport.php \Drupal\sms\Entity\SmsDeliveryReport::getStatusMessage()

Gets the status message.

Return value

string The status message as provided by the gateway API.

Overrides SmsDeliveryReportInterface::getStatusMessage

File

src/Entity/SmsDeliveryReport.php, line 93

Class

SmsDeliveryReport
Defines the SMS message delivery report entity.

Namespace

Drupal\sms\Entity

Code

public function getStatusMessage() {
  return $this
    ->get('status_message')->value;
}