function BatchStorageInterface::create
Same name in other branches
- 9 core/lib/Drupal/Core/Batch/BatchStorageInterface.php \Drupal\Core\Batch\BatchStorageInterface::create()
- 8.9.x core/lib/Drupal/Core/Batch/BatchStorageInterface.php \Drupal\Core\Batch\BatchStorageInterface::create()
- 11.x core/lib/Drupal/Core/Batch/BatchStorageInterface.php \Drupal\Core\Batch\BatchStorageInterface::create()
Creates and saves a batch.
Parameters
array $batch: The array representing the batch to create.
File
-
core/
lib/ Drupal/ Core/ Batch/ BatchStorageInterface.php, line 27
Class
- BatchStorageInterface
- Defines a common interface for batch storage operations.
Namespace
Drupal\Core\BatchCode
public function create(array $batch);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.