You are here

protected function ContentHubEntitiesTracking::isImportedEntity in Acquia Content Hub 8

Returns the tracking entity if it is an imported entity.

Return value

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

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

File

src/ContentHubEntitiesTracking.php, line 534

Class

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

Namespace

Drupal\acquia_contenthub

Code

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