public function PostNodeSaveEvent::__construct in GatherContent 8.3
Same name and namespace in other branches
- 8.4 src/Event/PostNodeSaveEvent.php \Drupal\gathercontent\Event\PostNodeSaveEvent::__construct()
Constructs a post node save event object.
Parameters
\Drupal\node\NodeInterface $node: Map plugin.
object $sourceValues: Source fields representing object in GatherContent.
array $files: Array of files fetched from GatherContent.
File
- src/
Event/ PostNodeSaveEvent.php, line 44
Class
- PostNodeSaveEvent
- Wraps a post node save event for event listeners.
Namespace
Drupal\gathercontent\EventCode
public function __construct(NodeInterface $node, $sourceValues, array $files) {
$this->node = $node;
$this->sourceValues = $sourceValues;
$this->files = $files;
}