public function RulesNodeEvent::__construct in Scheduler 2.x
Constructs the object.
Parameters
\Drupal\node\NodeInterface $node: The node which is being processed.
File
- scheduler_rules_integration/
src/ Event/ RulesNodeEvent.php, line 41
Class
- RulesNodeEvent
- Class for all Rules node events.
Namespace
Drupal\scheduler_rules_integration\EventCode
public function __construct(NodeInterface $node) {
$this->node = $node;
}