public function SubscriberTracker::queue in Acquia Content Hub 8.2
Add tracking for an entity in a self::QUEUED state.
The entity uuid to enqueue.
Throws
\Exception
File
- modules/
acquia_contenthub_subscriber/ src/ SubscriberTracker.php, line 127
Class
- SubscriberTracker
- Subscriber Tracker database table methods.
Namespace
Drupal\acquia_contenthub_subscriberCode
public function queue($uuid) {
$values = [
'entity_uuid' => $uuid,
];
$this
->insertOrUpdate($values, self::QUEUED);
}