You are here

public function PostImportEvent::__construct in GatherContent 8.4

Same name and namespace in other branches
  1. 8.3 src/Event/PostImportEvent.php \Drupal\gathercontent\Event\PostImportEvent::__construct()

Constructs a post import event object.

Parameters

array $success: Array of arrays with successfully imported nids and their gc_ids.

array $unsuccess: Array of arrays with unsuccessfully imported nids and their gc_ids.

string $operationId: UUID of \Drupal\gathercontent\Entity\Operation entity.

File

src/Event/PostImportEvent.php, line 46

Class

PostImportEvent
Wraps a post import event for event listeners.

Namespace

Drupal\gathercontent\Event

Code

public function __construct(array $success, array $unsuccess, $operationId) {
  $this->successNodes = $success;
  $this->unsuccessNodes = $unsuccess;
  $this->operationId = $operationId;
}