You are here

public function SmsMessageInterface::getSenderEntity in SMS Framework 8

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

Gets the entity who sent the SMS message.

Return value

\Drupal\Core\Entity\EntityInterface|null The entity who sent the SMS message, or NULL if it is missing.

1 method overrides SmsMessageInterface::getSenderEntity()
SmsMessage::getSenderEntity in src/Entity/SmsMessage.php
Gets the entity who sent the SMS message.

File

src/Entity/SmsMessageInterface.php, line 20

Class

SmsMessageInterface
Interface for SMS message entity.

Namespace

Drupal\sms\Entity

Code

public function getSenderEntity();