You are here

public function UpdateProcessor::numberOfQueueItems in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/update/src/UpdateProcessor.php \Drupal\update\UpdateProcessor::numberOfQueueItems()

Retrieves the number of items in the update fetch queue.

Return value

int An integer estimate of the number of items in the queue.

Overrides UpdateProcessorInterface::numberOfQueueItems

See also

\Drupal\Core\Queue\QueueInterface::numberOfItems()

File

core/modules/update/src/UpdateProcessor.php, line 255
Contains \Drupal\update\UpdateProcessor.

Class

UpdateProcessor
Process project update information.

Namespace

Drupal\update

Code

public function numberOfQueueItems() {
  return $this->fetchQueue
    ->numberOfItems();
}