node; } /** * Sets the node object. * * @param \Drupal\node\NodeInterface $node * The node object that caused the event to fire. */ public function setNode(NodeInterface $node) { $this->node = $node; } }