You are here

public function SmsMessage::setQueued in SMS Framework 2.1.x

Same name and namespace in other branches
  1. 8 src/Entity/SmsMessage.php \Drupal\sms\Entity\SmsMessage::setQueued()
  2. 2.x src/Entity/SmsMessage.php \Drupal\sms\Entity\SmsMessage::setQueued()

Get whether the SMS message is in the queue to be processed.

Parameters

bool $is_queued: Whether the SMS message is in the queue to be processed.

Return value

$this Return SMS message for chaining.

Overrides SmsMessageInterface::setQueued

File

src/Entity/SmsMessage.php, line 403

Class

SmsMessage
Defines the SMS message entity.

Namespace

Drupal\sms\Entity

Code

public function setQueued($is_queued) {
  $this
    ->set('queued', $is_queued);
  return $this;
}