You are here

public function SmsMessage::isQueued in SMS Framework 8

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

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

Return value

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

Overrides SmsMessageInterface::isQueued

File

src/Entity/SmsMessage.php, line 394

Class

SmsMessage
Defines the SMS message entity.

Namespace

Drupal\sms\Entity

Code

public function isQueued() {
  return (bool) $this
    ->get('queued')->value;
}