function 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

File

core/modules/update/src/UpdateProcessor.php, line 262

Class

UpdateProcessor
Process project update information.

Namespace

Drupal\update

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.