function BatchStorageInterface::getId
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Batch/BatchStorageInterface.php \Drupal\Core\Batch\BatchStorageInterface::getId()
Returns a new batch id.
Return value
int A batch id.
Throws
\Exception Thrown when a new batch id could not be generated.
File
-
core/
lib/ Drupal/ Core/ Batch/ BatchStorageInterface.php, line 59
Class
- BatchStorageInterface
- Defines a common interface for batch storage operations.
Namespace
Drupal\Core\BatchCode
public function getId() : int;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.