You are here

public function PreNodeSaveEvent::getNode in GatherContent 8.3

Same name and namespace in other branches
  1. 8.4 src/Event/PreNodeSaveEvent.php \Drupal\gathercontent\Event\PreNodeSaveEvent::getNode()

Gets the node object.

Return value

\Drupal\node\NodeInterface The node object.

File

src/Event/PreNodeSaveEvent.php, line 56

Class

PreNodeSaveEvent
Wraps a pre node save event for event listeners.

Namespace

Drupal\gathercontent\Event

Code

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