You are here

public function BatchStorageInterface::delete in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Batch/BatchStorageInterface.php \Drupal\Core\Batch\BatchStorageInterface::delete()
  2. 9 core/lib/Drupal/Core/Batch/BatchStorageInterface.php \Drupal\Core\Batch\BatchStorageInterface::delete()

Deletes a batch.

Parameters

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

1 method overrides BatchStorageInterface::delete()
BatchStorage::delete in core/lib/Drupal/Core/ProxyClass/Batch/BatchStorage.php
Deletes a batch.

File

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

Class

BatchStorageInterface
Defines a common interface for batch storage operations.

Namespace

Drupal\Core\Batch

Code

public function delete($id);