function BatchBuilder::registerSetId
Registers a set ID for this batch.
Parameters
string $setId: The set ID to register.
Return value
$this
File
-
core/
lib/ Drupal/ Core/ Batch/ BatchBuilder.php, line 365
Class
- BatchBuilder
- Builds an array for a batch process.
Namespace
Drupal\Core\BatchCode
public function registerSetId(string $setId) : self {
static::$registeredSetIds[$setId] = TRUE;
return $this;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.