public function ContentHubEntitiesTracking::setImportedEntity in Acquia Content Hub 8
Helper function to set the Imported 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 194
Class
- ContentHubEntitiesTracking
- Tracks in a table the list of all entities imported from Content Hub.
Namespace
Drupal\acquia_contenthubCode
public function setImportedEntity($entity_type, $entity_id, $entity_uuid, $modified, $origin) {
return $this
->setTrackingEntity($entity_type, $entity_id, $entity_uuid, $modified, $origin, '', self::AUTO_UPDATE_ENABLED);
}