You are here

public function ContentHubEntitiesTracking::getOrigin in Acquia Content Hub 8

Returns the Origin.

Return value

int|string The Origin.

2 calls to ContentHubEntitiesTracking::getOrigin()
ContentHubEntitiesTracking::save in src/ContentHubEntitiesTracking.php
Saves a record of an imported entity.
ContentHubEntitiesTracking::setTrackingEntity in src/ContentHubEntitiesTracking.php
Explicitly sets the Tracking Entity.

File

src/ContentHubEntitiesTracking.php, line 368

Class

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

Namespace

Drupal\acquia_contenthub

Code

public function getOrigin() {
  return isset($this
    ->getTrackingEntity()->origin) ? $this
    ->getTrackingEntity()->origin : NULL;
}