function UpdateManagerInterface::fetchDataBatch

Same name in other branches
  1. 8.9.x core/modules/update/src/UpdateManagerInterface.php \Drupal\update\UpdateManagerInterface::fetchDataBatch()
  2. 10 core/modules/update/src/UpdateManagerInterface.php \Drupal\update\UpdateManagerInterface::fetchDataBatch()
  3. 11.x core/modules/update/src/UpdateManagerInterface.php \Drupal\update\UpdateManagerInterface::fetchDataBatch()

Processes a step in batch for fetching available update data.

Before calling this method, call UpdateManagerInterface::refreshUpdateData() to clear existing update data and initiate re-fetching.

Parameters

array $context: Reference to an array used for Batch API storage.

See also

\Drupal\update\UpdateManagerInterface::refreshUpdateData()

1 method overrides UpdateManagerInterface::fetchDataBatch()
UpdateManager::fetchDataBatch in core/modules/update/src/UpdateManager.php
Processes a step in batch for fetching available update data.

File

core/modules/update/src/UpdateManagerInterface.php, line 94

Class

UpdateManagerInterface
Manages project update information.

Namespace

Drupal\update

Code

public function fetchDataBatch(&$context);

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