Skip to content
Snippets Groups Projects

Issue #3180592: OLD taxonomy_term_id used in subscriber site views synced by content hub

4 files
+ 153
0
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -109,6 +109,24 @@ class CreateCdfEntityEvent extends Event {
}
}
/**
* Set a CDF object from the stack of CDFs the event holds.
*
* @param string $uuid
* The UUID.
*
* @param \Acquia\ContentHubClient\CDF\CDFObject $cdf
* The CDF object.
*/
public function setCdf($uuid, $cdf) {
foreach ($this->cdfs as $k => $v) {
if ($v->getUuid() == $uuid) {
$this->cdfs[$k] = $cdf;
break;
}
}
}
/**
* Get the entire list of CDF Objects generated for this entity.
*
Loading