You are here

public function BatchStorageInterface::load in Drupal 8

Same name and namespace in other branches
  1. 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.

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);