You are here

public function ContentHubReindex::setReindexStateFailed in Acquia Content Hub 8

Sets the Reindexing State as REINDEX_FAILED.

Return value

string The new state.

1 call to ContentHubReindex::setReindexStateFailed()
ContentHubReindex::setExportedEntitiesToReindex in src/Controller/ContentHubReindex.php
Set Exported Entities to be Re-indexed.

File

src/Controller/ContentHubReindex.php, line 168

Class

ContentHubReindex
Class for reindexing Content Hub content.

Namespace

Drupal\acquia_contenthub\Controller

Code

public function setReindexStateFailed() {
  return $this
    ->setReindexingState(self::REINDEX_FAILED);
}