public function UnsavedIndexConfiguration::isReindexing in Search API 8
Determines whether reindexing has been triggered in this page request.
Return value
bool TRUE if reindexing for this index has been triggered in this page request, and no items have been indexed since; FALSE otherwise. In other words, this returns FALSE if and only if calling reindex() on this index would have any effect (or if it is disabled).
Overrides IndexInterface::isReindexing
File
- src/
UnsavedIndexConfiguration.php, line 620
Class
- UnsavedIndexConfiguration
- Represents a configuration of an index that was not yet permanently saved.
Namespace
Drupal\search_apiCode
public function isReindexing() {
return $this->entity
->isReindexing();
}