You are here

public function CFNodeSubject::__construct in Changed Fields API 7.3

Same name and namespace in other branches
  1. 7 includes/changed_fields.core.inc \CFNodeSubject::__construct()
  2. 7.2 includes/changed_fields.core.inc \CFNodeSubject::__construct()

Node subject constructor.

Parameters

\stdClass $node: Node object.

CFDefaultFieldComparator $fieldComparator: Field comparator object.

File

src/CFNodeSubject.php, line 37

Class

CFNodeSubject
Class CFNodeSubject.

Code

public function __construct(\stdClass $node, CFDefaultFieldComparator $fieldComparator) {
  $this->node = $node;
  $this->fieldComparator = $fieldComparator;
}