public function NodeToUpdateEvent::getNode in GatherContent 8.4
Gets the node object if set.
Return value
\Drupal\node\NodeInterface|bool The node object or false.
File
- src/
Event/ NodeToUpdateEvent.php, line 63
Class
- NodeToUpdateEvent
- Wraps a node to update event for event listeners.
Namespace
Drupal\gathercontent\EventCode
public function getNode() {
return $this->node;
}