public function SchedulerEvent::setNode in Scheduler 8
Sets the node object.
Parameters
\Drupal\node\NodeInterface $node: The node object that caused the event to fire.
File
- src/
SchedulerEvent.php, line 28
Class
- SchedulerEvent
- Wraps a scheduler event for event listeners.
Namespace
Drupal\schedulerCode
public function setNode(NodeInterface $node) {
$this->node = $node;
}