public function PostNodeUploadEvent::__construct in GatherContent 8.5
Constructs a post 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/ PostNodeUploadEvent.php, line 35
Class
- PostNodeUploadEvent
- Wraps a post node upload event for event listeners.
Namespace
Drupal\gathercontent_upload\EventCode
public function __construct(EntityInterface $node, array $gathercontentValues) {
$this->node = $node;
$this->gathercontentValues = $gathercontentValues;
}