You are here

public function ContentHubReindex::isReindexFinished in Acquia Content Hub 8

Checks whether the current Reindexing State is REINDEX_FINISHED.

Return value

bool TRUE if Reindexing State is REINDEX_FINISHED, FALSE otherwise.

File

src/Controller/ContentHubReindex.php, line 178

Class

ContentHubReindex
Class for reindexing Content Hub content.

Namespace

Drupal\acquia_contenthub\Controller

Code

public function isReindexFinished() {
  return $this
    ->getReindexingState() === self::REINDEX_FINISHED;
}