You are here

public function ContentHubEntitiesTracking::isPendingSync in Acquia Content Hub 8

Check if the entity is pending synchronization to Content Hub or not.

Return value

bool TRUE if the entity is pending synchronization, FALSE otherwise.

File

src/ContentHubEntitiesTracking.php, line 327

Class

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

Namespace

Drupal\acquia_contenthub

Code

public function isPendingSync() {
  return $this
    ->getImportStatus() === self::PENDING_SYNC;
}