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

1
2
3
public function numberOfQueueItems() {
  return $this->fetchQueue->numberOfItems();
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.