public function ContentHubEntitiesTracking::getEntitiesToReindex in Acquia Content Hub 8
Obtains a list of exported entities set to Reindex.
Parameters
string $entity_type_id: The Entity type.
Return value
array An array of Tracked Entities set to reindex.
File
- src/
ContentHubEntitiesTracking.php, line 860
Class
- ContentHubEntitiesTracking
- Tracks in a table the list of all entities imported from Content Hub.
Namespace
Drupal\acquia_contenthubCode
public function getEntitiesToReindex($entity_type_id = NULL) {
$origin = $this
->getSiteOrigin();
return $this
->getFromOrigin($origin, self::REINDEX, '', $entity_type_id);
}