You are here

public function PreNodeUploadEvent::__construct in GatherContent 8.5

Constructs a pre node upload event object.

Parameters

\Drupal\Core\Entity\EntityInterface $node: Entity object.

array $gathercontentValues: Source fields representing object in GatherContent.

File

gathercontent_upload/src/Event/PreNodeUploadEvent.php, line 35

Class

PreNodeUploadEvent
Wraps a pre node upload event for event listeners.

Namespace

Drupal\gathercontent_upload\Event

Code

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