You are here

public function SmsMessageInterface::setRecipientEntity in SMS Framework 2.1.x

Same name and namespace in other branches
  1. 8 src/Entity/SmsMessageInterface.php \Drupal\sms\Entity\SmsMessageInterface::setRecipientEntity()
  2. 2.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 52

Class

SmsMessageInterface
Interface for SMS message entity.

Namespace

Drupal\sms\Entity

Code

public function setRecipientEntity(EntityInterface $entity);