You are here

public function PostNodeSaveEvent::getNode in GatherContent 8.3

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

Gets the node object.

Return value

\Drupal\node\NodeInterface The node object.

File

src/Event/PostNodeSaveEvent.php, line 56

Class

PostNodeSaveEvent
Wraps a post node save event for event listeners.

Namespace

Drupal\gathercontent\Event

Code

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