public function PublisherTracker::getRecord in Acquia Content Hub 8.2
Gets the tracking record for a given uuid.
Parameters
string $uuid: The entity uuid.
Return value
\Drupal\Core\Database\StatementInterface|int|null Database statement
File
- modules/
acquia_contenthub_publisher/ src/ PublisherTracker.php, line 66
Class
- PublisherTracker
- The publisher tracker table class.
Namespace
Drupal\acquia_contenthub_publisherCode
public function getRecord(string $uuid) {
$query = $this->database
->select(self::EXPORT_TRACKING_TABLE, 't')
->fields('t');
$query
->condition('entity_uuid', $uuid);
return $query
->execute()
->fetchObject();
}