You are here

public function EventBase::__construct in Scheduler 8

Constructs the object.

Parameters

\Drupal\node\NodeInterface $node: The node which is being processed.

File

src/EventBase.php, line 34

Class

EventBase
Base class on which all Scheduler events are extended.

Namespace

Drupal\scheduler

Code

public function __construct(NodeInterface $node) {
  $this->node = $node;
}