function BatchStorageInterface::update

Same name in other branches
  1. 9 core/lib/Drupal/Core/Batch/BatchStorageInterface.php \Drupal\Core\Batch\BatchStorageInterface::update()
  2. 8.9.x core/lib/Drupal/Core/Batch/BatchStorageInterface.php \Drupal\Core\Batch\BatchStorageInterface::update()
  3. 10 core/lib/Drupal/Core/Batch/BatchStorageInterface.php \Drupal\Core\Batch\BatchStorageInterface::update()

Updates a batch.

Parameters

array $batch: The array representing the batch to update.

2 methods override BatchStorageInterface::update()
BatchStorage::update in core/lib/Drupal/Core/ProxyClass/Batch/BatchStorage.php
Updates a batch.
BatchStorage::update in core/lib/Drupal/Core/Batch/BatchStorage.php
Updates a batch.

File

core/lib/Drupal/Core/Batch/BatchStorageInterface.php, line 35

Class

BatchStorageInterface
Defines a common interface for batch storage operations.

Namespace

Drupal\Core\Batch

Code

public function update(array $batch);

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