public function ContentHubEntitiesTracking::setExportedEntity in Acquia Content Hub 8
Helper function to set the Exported Tracking Entity.
Parameters
string $entity_type: The Entity Type.
int $entity_id: The Entity ID.
string $entity_uuid: The Entity UUID.
string $modified: The CDF's modified timestamp.
string $origin: The origin UUID.
Return value
\Drupal\acquia_contenthub\ContentHubEntitiesTracking This same object.
File
- src/
ContentHubEntitiesTracking.php, line 173
Class
- ContentHubEntitiesTracking
- Tracks in a table the list of all entities imported from Content Hub.
Namespace
Drupal\acquia_contenthubCode
public function setExportedEntity($entity_type, $entity_id, $entity_uuid, $modified, $origin) {
return $this
->setTrackingEntity($entity_type, $entity_id, $entity_uuid, $modified, $origin, self::INITIATED, '');
}