You are here

public function ImportQueueItem::__construct in Acquia Content Hub 8

Construct the ImportQueueItem.

Parameters

string $uuid: The UUID for an entity.

bool $dependencies: Whether or not to import the dependencies.

bool $author: Whether or not to import the author.

int $status: The status to import the entity with.

File

src/QueueItem/ImportQueueItem.php, line 52

Class

ImportQueueItem
Class for import queue items.

Namespace

Drupal\acquia_contenthub\QueueItem

Code

public function __construct($uuid, $dependencies = TRUE, $author = TRUE, $status = 0) {
  $this->uuid = $uuid;
  $this->dependencies = $dependencies;
  $this->author = $author;
  $this->status = $status;
}