You are here

public function PostNodeUploadEvent::__construct in GatherContent 8.3

Constructs a post node upload event object.

Parameters

\Drupal\node\NodeInterface $node: Map plugin.

array $gathercontentValues: Source fields representing object in GatherContent.

File

src/Event/PostNodeUploadEvent.php, line 35

Class

PostNodeUploadEvent
Wraps a post node upload event for event listeners.

Namespace

Drupal\gathercontent\Event

Code

public function __construct(NodeInterface $node, array $gathercontentValues) {
  $this->node = $node;
  $this->gathercontentValues = $gathercontentValues;
}