You are here

public function ContentHubEntitiesTracking::getCountEntitiesToReindex in Acquia Content Hub 8

Obtains the number of exported entities marked for Reindex.

Return value

int The number of entities marked for reindex.

File

src/ContentHubEntitiesTracking.php, line 913

Class

ContentHubEntitiesTracking
Tracks in a table the list of all entities imported from Content Hub.

Namespace

Drupal\acquia_contenthub

Code

public function getCountEntitiesToReindex() {
  $origin = $this
    ->getSiteOrigin();
  return $this
    ->getFromOriginCount($origin, self::REINDEX);
}