You are here

public function PruneCdfEntitiesEvent::__construct in Acquia Content Hub 8.2

PruneCdfEntitiesEvent constructor.

Parameters

\Acquia\ContentHubClient\CDFDocument $cdf: The CDF document.

File

src/Event/PruneCdfEntitiesEvent.php, line 32

Class

PruneCdfEntitiesEvent
Use to remove entities a subscriber does not want to import.

Namespace

Drupal\acquia_contenthub\Event

Code

public function __construct(CDFDocument $cdf) {
  $this->cdf = $cdf;
}