You are here

public function SmsGateway::setSkipQueue in SMS Framework 2.x

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

Set whether messages sent to this gateway should be sent immediately.

Parameters

bool $skip_queue: Whether messages sent to this gateway should be sent immediately.

Return value

$this Return this gateway for chaining.

Overrides SmsGatewayInterface::setSkipQueue

File

src/Entity/SmsGateway.php, line 214

Class

SmsGateway
Defines storage for an SMS Gateway instance.

Namespace

Drupal\sms\Entity

Code

public function setSkipQueue($skip_queue) {
  $this->skip_queue = (bool) $skip_queue;
  return $this;
}