You are here

public function FlippyEvent::__construct in Flippy 8

FlippyEvent constructor.

Parameters

array $queries: The queries for this event.

\Drupal\node\NodeInterface $node: The node object.

File

src/FlippyEvent.php, line 24

Class

FlippyEvent
Defines a Flippy Node event.

Namespace

Drupal\flippy

Code

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