You are here

public function PublisherTracker::delete in Acquia Content Hub 8.2

Remove tracking for an entity.

Parameters

string $uuid: The uuid for which to remove tracking.

Return value

\Drupal\Core\Database\StatementInterface|int|null Database statement

Throws

\Exception

File

modules/acquia_contenthub_publisher/src/PublisherTracker.php, line 136

Class

PublisherTracker
The publisher tracker table class.

Namespace

Drupal\acquia_contenthub_publisher

Code

public function delete(string $uuid) {
  $query = $this->database
    ->delete(self::EXPORT_TRACKING_TABLE);
  $query
    ->condition('entity_uuid', $uuid);
  return $query
    ->execute();
}