You are here

public function CourierManager::getSkipQueue in Courier 8

Same name and namespace in other branches
  1. 2.x src/Service/CourierManager.php \Drupal\courier\Service\CourierManager::getSkipQueue()

Whether message queue item should skip queue.

Return value

bool

1 call to CourierManager::getSkipQueue()
CourierManager::sendMessage in src/Service/CourierManager.php
Prepares messages for an identity and and queues them for transmission.

File

src/Service/CourierManager.php, line 188

Class

CourierManager
The courier manager.

Namespace

Drupal\courier\Service

Code

public function getSkipQueue() {
  $skip_queue = $this->configFactory
    ->get('courier.settings')
    ->get('skip_queue');
  return !empty($skip_queue);
}