public function UnsavedIndexConfiguration::stopBatchTracking in Search API 8
Stop the latest initialized "batch tracking" mode for the index.
Note that the index might remain in "batch tracking" mode if startBatchTracking() was called multiple times. You have to take care to always call the two methods the same number of times.
Return value
$this
Throws
\Drupal\search_api\SearchApiException Thrown if the index wasn't in "batch tracking" mode before.
Overrides IndexInterface::stopBatchTracking
See also
\Drupal\search_api\IndexInterface::startBatchTracking
File
- src/
UnsavedIndexConfiguration.php, line 570
Class
- UnsavedIndexConfiguration
- Represents a configuration of an index that was not yet permanently saved.
Namespace
Drupal\search_apiCode
public function stopBatchTracking() {
$this->entity
->stopBatchTracking();
return $this;
}