public function BatchStorageInterface::create in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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.
2 methods override BatchStorageInterface::create()
- BatchStorage::create in core/
lib/ Drupal/ Core/ ProxyClass/ Batch/ BatchStorage.php - Creates and saves a batch.
- BatchStorage::create in core/
lib/ Drupal/ Core/ Batch/ BatchStorage.php - Creates and saves a batch.
File
- core/
lib/ Drupal/ Core/ Batch/ BatchStorageInterface.php, line 32 - Contains \Drupal\Core\Batch\BatchStorageInterface.
Class
- BatchStorageInterface
- Defines a common interface for batch storage operations.
Namespace
Drupal\Core\BatchCode
public function create(array $batch);