public function SmsMessage::getSendTime in SMS Framework 2.1.x
Same name and namespace in other branches
- 8 src/Entity/SmsMessage.php \Drupal\sms\Entity\SmsMessage::getSendTime()
- 2.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 418
Class
- SmsMessage
- Defines the SMS message entity.
Namespace
Drupal\sms\EntityCode
public function getSendTime() {
return $this
->get('send_on')->value;
}