You are here

public function BatchStorageInterface::load in Drupal 10

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

1 method overrides BatchStorageInterface::load()
BatchStorage::load in core/lib/Drupal/Core/ProxyClass/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);