You are here

public function SmsMessageInterface::setRecipientEntity in SMS Framework 8

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

Set the entity who will receive the SMS message.

Parameters

\Drupal\Core\Entity\EntityInterface $entity: The entity who will receive the SMS message.

Return value

$this Return SMS message for chaining.

1 method overrides SmsMessageInterface::setRecipientEntity()
SmsMessage::setRecipientEntity in src/Entity/SmsMessage.php
Set the entity who will receive the SMS message.

File

src/Entity/SmsMessageInterface.php, line 50

Class

SmsMessageInterface
Interface for SMS message entity.

Namespace

Drupal\sms\Entity

Code

public function setRecipientEntity(EntityInterface $entity);