function BatchStorageInterface::load

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

Loads a batch.

Parameters

int $id: The ID of the batch to load.

Return value

array An array representing the batch, or FALSE if no batch was found.

File

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

Class

BatchStorageInterface
Defines a common interface for batch storage operations.

Namespace

Drupal\Core\Batch

Code

public function load($id);

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