You are here

public function SchedulerEvent::getNode in Scheduler 8

Gets node object.

Return value

\Drupal\node\NodeInterface The node object that caused the event to fire.

File

src/SchedulerEvent.php, line 18

Class

SchedulerEvent
Wraps a scheduler event for event listeners.

Namespace

Drupal\scheduler

Code

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