public function ContentHubImportQueue::getQueueCount in Acquia Content Hub 8.2
Obtains the number of items in the import queue.
Return value
mixed The number of items in the import queue.
1 call to ContentHubImportQueue::getQueueCount()
- ContentHubImportQueue::process in modules/
acquia_contenthub_subscriber/ src/ ContentHubImportQueue.php - Handle the route to create a batch process.
File
- modules/
acquia_contenthub_subscriber/ src/ ContentHubImportQueue.php, line 48
Class
- ContentHubImportQueue
- Implements an Import Queue for entities.
Namespace
Drupal\acquia_contenthub_subscriberCode
public function getQueueCount() {
return $this->queue
->numberOfItems();
}