You are here

public function ContentHubReindex::isReindexSent in Acquia Content Hub 8

Checks whether the current Reindexing State is REINDEX_SENT.

Return value

bool TRUE if Reindexing State is REINDEX_SENT, FALSE otherwise.

File

src/Controller/ContentHubReindex.php, line 138

Class

ContentHubReindex
Class for reindexing Content Hub content.

Namespace

Drupal\acquia_contenthub\Controller

Code

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