public function SmsMessage::getUid in SMS Framework 8
Same name in this branch
- 8 src/Message/SmsMessage.php \Drupal\sms\Message\SmsMessage::getUid()
- 8 src/Entity/SmsMessage.php \Drupal\sms\Entity\SmsMessage::getUid()
Same name and namespace in other branches
- 2.x src/Message/SmsMessage.php \Drupal\sms\Message\SmsMessage::getUid()
- 2.1.x src/Message/SmsMessage.php \Drupal\sms\Message\SmsMessage::getUid()
Gets the user who created the SMS message.
Return value
int|null The ID of the user who created the message. Or NULL if no user entity is associated as the sender.
Overrides SmsMessageInterface::getUid
File
- src/
Message/ SmsMessage.php, line 292
Class
- SmsMessage
- Basic implementation of an SMS message.
Namespace
Drupal\sms\MessageCode
public function getUid() {
return $this->uid;
}