public function SmsMessage::getCreatedTime in SMS Framework 8
Same name and namespace in other branches
- 2.x src/Entity/SmsMessage.php \Drupal\sms\Entity\SmsMessage::getCreatedTime()
- 2.1.x src/Entity/SmsMessage.php \Drupal\sms\Entity\SmsMessage::getCreatedTime()
Get the creation timestamp of the SMS message.
Return value
int Creation timestamp of the SMS message.
Overrides SmsMessageInterface::getCreatedTime
File
- src/
Entity/ SmsMessage.php, line 409
Class
- SmsMessage
- Defines the SMS message entity.
Namespace
Drupal\sms\EntityCode
public function getCreatedTime() {
return $this
->get('created')->value;
}