You are here

public function NodeToUpdateEvent::__construct in GatherContent 8.4

Constructs a node to update event object.

Parameters

object $sourceValues: Source fields representing object in GatherContent.

array $files: Array of files fetched from GatherContent.

File

src/Event/NodeToUpdateEvent.php, line 42

Class

NodeToUpdateEvent
Wraps a node to update event for event listeners.

Namespace

Drupal\gathercontent\Event

Code

public function __construct($sourceValues, array $files) {
  $this->sourceValues = $sourceValues;
  $this->files = $files;
}