You are here

public function SmsMessage::getSendTime in SMS Framework 8

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

Get the time to send the SMS message.

Return value

int The timestamp after which the SMS message should be sent.

Overrides SmsMessageInterface::getSendTime

File

src/Entity/SmsMessage.php, line 416

Class

SmsMessage
Defines the SMS message entity.

Namespace

Drupal\sms\Entity

Code

public function getSendTime() {
  return $this
    ->get('send_on')->value;
}