You are here

protected function ContentHubEntitiesTracking::setExportStatus in Acquia Content Hub 8

Sets the Export Status.

Parameters

string $status_export: Could be INITIATED or EXPORTED.

Return value

\Drupal\acquia_contenthub\ContentHubEntitiesTracking|bool This ContentHubEntitiesTracking object if succeeds, FALSE otherwise.

3 calls to ContentHubEntitiesTracking::setExportStatus()
ContentHubEntitiesTracking::setExported in src/ContentHubEntitiesTracking.php
Sets the entity to the state of "exported".
ContentHubEntitiesTracking::setInitiated in src/ContentHubEntitiesTracking.php
Sets the entity to the state of "initiated".
ContentHubEntitiesTracking::setQueued in src/ContentHubEntitiesTracking.php
Sets the entity to the state of "queued".

File

src/ContentHubEntitiesTracking.php, line 391

Class

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

Namespace

Drupal\acquia_contenthub

Code

protected function setExportStatus($status_export) {
  $this
    ->getTrackingEntity()->status_export = $status_export;
  return $this;
}