You are here

public function ContentHubEntitiesTracking::setPendingSync in Acquia Content Hub 8

Sets the entity to the state of "pending synchronization from Content Hub".

Return value

\Drupal\acquia_contenthub\ContentHubEntitiesTracking This ContentHubEntitiesTracking object.

File

src/ContentHubEntitiesTracking.php, line 477

Class

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

Namespace

Drupal\acquia_contenthub

Code

public function setPendingSync() {
  $this
    ->setImportStatus(self::PENDING_SYNC);
  return $this;
}