You are here

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\Event

Code

public function getNode() {
  return $this->node;
}