public function ContentHubExportQueue::getQueueCount in Acquia Content Hub 8.2
Obtains the number of items in the export queue.
Return value
mixed The number of items in the export queue.
1 call to ContentHubExportQueue::getQueueCount()
- ContentHubExportQueue::processQueueItems in modules/
acquia_contenthub_publisher/ src/ ContentHubExportQueue.php - Process all queue items with batch API.
File
- modules/
acquia_contenthub_publisher/ src/ ContentHubExportQueue.php, line 56
Class
- ContentHubExportQueue
- Implements an Export Queue for Content Hub.
Namespace
Drupal\acquia_contenthub_publisherCode
public function getQueueCount() {
return $this->queue
->numberOfItems();
}