function BatchStorageInterface::load

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Batch/BatchStorageInterface.php \Drupal\Core\Batch\BatchStorageInterface::load()
  2. 10 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.

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

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.