public function SmsMessageInterface::setSenderEntity in SMS Framework 8
Same name and namespace in other branches
- 2.x src/Entity/SmsMessageInterface.php \Drupal\sms\Entity\SmsMessageInterface::setSenderEntity()
- 2.1.x src/Entity/SmsMessageInterface.php \Drupal\sms\Entity\SmsMessageInterface::setSenderEntity()
Set the entity who sent the SMS message.
Parameters
\Drupal\Core\Entity\EntityInterface $entity: The entity who sent the SMS message.
Return value
$this Return SMS message for chaining.
1 method overrides SmsMessageInterface::setSenderEntity()
- SmsMessage::setSenderEntity in src/
Entity/ SmsMessage.php - Set the entity who sent the SMS message.
File
- src/
Entity/ SmsMessageInterface.php, line 31
Class
- SmsMessageInterface
- Interface for SMS message entity.
Namespace
Drupal\sms\EntityCode
public function setSenderEntity(EntityInterface $entity);