protected function QueueExampleForm::doesQueueUseDb in Examples for Developers 8
Check if we are using the default database queue.
Return value
bool TRUE if we are using the default database queue implementation.
1 call to QueueExampleForm::doesQueueUseDb()
- QueueExampleForm::retrieveQueue in queue_example/
src/ Forms/ QueueExampleForm.php - Retrieves the queue from the database for display purposes only.
File
- queue_example/
src/ Forms/ QueueExampleForm.php, line 260
Class
- QueueExampleForm
- Form with examples on how to use queue.
Namespace
Drupal\queue_example\FormsCode
protected function doesQueueUseDb() {
return $this->queueType == 'queue.database';
}