public function SerializeAdditionalMetadataEvent::setCdf in Acquia Content Hub 8.2
Set the CDF object event holds.
Parameters
\Acquia\ContentHubClient\CDF\CDFObject $cdf: The CDF Object.
File
- src/
Event/ SerializeAdditionalMetadataEvent.php, line 70
Class
- SerializeAdditionalMetadataEvent
- The event dispatched to serialize additional metadata for a Content Entity.
Namespace
Drupal\acquia_contenthub\EventCode
public function setCdf(CDFObject $cdf) {
$this->cdf = $cdf;
}