public function BatchStorageInterface::create

Creates and saves a batch.

Parameters

array $batch: The array representing the batch to create.

1 method overrides BatchStorageInterface::create()
BatchStorage::create in drupal/core/lib/Drupal/Core/Utility/BatchStorage.php
Creates and saves a batch.

File

drupal/core/lib/Drupal/Core/Utility/BatchStorageInterface.php, line 30
Definition of \Drupal\Core\Utility\BatchStorageInterface.

Class

BatchStorageInterface

Namespace

Drupal\Core\Utility

Code

public function create(array $batch);