UpdateProcessor::numberOfQueueItems

public 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 251

Class

UpdateProcessor
Process project update information.

Namespace

Drupal\update

Code

public function numberOfQueueItems() {
  return $this->fetchQueue->numberOfItems();
}
doc_Drupal
2016-10-29 09:51:00
Comments
Leave a Comment

Please login to continue.