You are here

public function PreNodeUploadEvent::__construct in GatherContent 8.3

Constructs a pre node upload event object.

Parameters

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

array $gathercontentValues: Source fields representing object in GatherContent.

File

src/Event/PreNodeUploadEvent.php, line 35

Class

PreNodeUploadEvent
Wraps a pre node upload event for event listeners.

Namespace

Drupal\gathercontent\Event

Code

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