public function UpdateProcessor::fetchData in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/update/src/UpdateProcessor.php \Drupal\update\UpdateProcessor::fetchData()
Attempts to drain the queue of tasks for release history data to fetch.
Overrides UpdateProcessorInterface::fetchData
File
- core/
modules/ update/ src/ UpdateProcessor.php, line 132 - Contains \Drupal\update\UpdateProcessor.
Class
- UpdateProcessor
- Process project update information.
Namespace
Drupal\updateCode
public function fetchData() {
$end = time() + $this->updateSettings
->get('fetch.timeout');
while (time() < $end && ($item = $this->fetchQueue
->claimItem())) {
$this
->processFetchTask($item->data);
$this->fetchQueue
->deleteItem($item);
}
}