You are here

public function ContentHubEntitiesTracking::getInitiatedEntities in Acquia Content Hub 8

Obtains a list of "initiated" entities.

Parameters

string $entity_type_id: The Entity type.

Return value

array An array of Tracked Entities with status_export = "initiated".

File

src/ContentHubEntitiesTracking.php, line 888

Class

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

Namespace

Drupal\acquia_contenthub

Code

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