public function NodeToUpdateEvent::setNode in GatherContent 8.4
Sets the node object.
Return value
\Drupal\node\NodeInterface The node object.
File
- src/
Event/ NodeToUpdateEvent.php, line 53
Class
- NodeToUpdateEvent
- Wraps a node to update event for event listeners.
Namespace
Drupal\gathercontent\EventCode
public function setNode(NodeInterface $node) {
$this->node = $node;
}