You are here

public function ContentHubReindex::setReindexStateFinished in Acquia Content Hub 8

Sets the Reindexing State as REINDEX_FINISHED.

Return value

string The new state.

File

src/Controller/ContentHubReindex.php, line 188

Class

ContentHubReindex
Class for reindexing Content Hub content.

Namespace

Drupal\acquia_contenthub\Controller

Code

public function setReindexStateFinished() {
  return $this
    ->setReindexingState(self::REINDEX_FINISHED);
}