You are here

public function ContentHubReindex::isReindexNone in Acquia Content Hub 8

Checks whether the current Reindexing State is REINDEX_NONE.

Return value

bool TRUE if Reindexing State is REINDEX_NONE, FALSE otherwise.

File

src/Controller/ContentHubReindex.php, line 128

Class

ContentHubReindex
Class for reindexing Content Hub content.

Namespace

Drupal\acquia_contenthub\Controller

Code

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