You are here

public function CourierManager::getSkipQueue in Courier 2.x

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

Whether message queue item should skip queue.

Return value

bool Whether message queue item should skip queue.

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 189

Class

CourierManager
The courier manager.

Namespace

Drupal\courier\Service

Code

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