private function ContentHubEntitiesTracking::getFromOrigin in Acquia Content Hub 8
Lists all imported entities that match a certain origin and status.
Parameters
string $origin: The origin UUID.
string $status_export: The Export Status.
string $status_import: The Import Status.
string $entity_type_id: The Entity type.
Return value
array An array containing the list of imported entities from a certain origin.
4 calls to ContentHubEntitiesTracking::getFromOrigin()
- ContentHubEntitiesTracking::getEntitiesToReindex in src/
ContentHubEntitiesTracking.php - Obtains a list of exported entities set to Reindex.
- ContentHubEntitiesTracking::getInitiatedEntities in src/
ContentHubEntitiesTracking.php - Obtains a list of "initiated" entities.
- ContentHubEntitiesTracking::getPublishedEntities in src/
ContentHubEntitiesTracking.php - Obtains a list of exported entities.
- ContentHubEntitiesTracking::getQueuedEntities in src/
ContentHubEntitiesTracking.php - Obtains a list of "queued" entities.
File
- src/
ContentHubEntitiesTracking.php, line 820
Class
- ContentHubEntitiesTracking
- Tracks in a table the list of all entities imported from Content Hub.
Namespace
Drupal\acquia_contenthubCode
private function getFromOrigin($origin, $status_export = '', $status_import = '', $entity_type_id = '') {
if ($query = $this
->getFromOriginQuery($origin, $status_export, $status_import, $entity_type_id)) {
return $query
->execute()
->fetchAll();
}
return [];
}