You are here

public function ContentHubEntitiesTracking::getPublishedEntities in Acquia Content Hub 8

Obtains a list of exported entities.

Parameters

string $entity_type_id: The Entity type.

Return value

array An array of Tracked Entities published to Content Hub.

File

src/ContentHubEntitiesTracking.php, line 874

Class

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

Namespace

Drupal\acquia_contenthub

Code

public function getPublishedEntities($entity_type_id = NULL) {
  $origin = $this
    ->getSiteOrigin();
  return $this
    ->getFromOrigin($origin, self::EXPORTED, '', $entity_type_id);
}