You are here

protected function ContentHubEntitiesTracking::isExportedEntity in Acquia Content Hub 8

Returns the tracking entity if it is an exported entity.

Return value

ContentHubEntitiesTracking|bool This entity if it is an exported entity, FALSE otherwise.

1 call to ContentHubEntitiesTracking::isExportedEntity()
ContentHubEntitiesTracking::setTrackingEntity in src/ContentHubEntitiesTracking.php
Explicitly sets the Tracking Entity.

File

src/ContentHubEntitiesTracking.php, line 524

Class

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

Namespace

Drupal\acquia_contenthub

Code

protected function isExportedEntity() {
  return empty($this
    ->getExportStatus()) ? FALSE : $this;
}