public function CFNodeSubject::__construct in Changed Fields API 7.3
Same name and namespace in other branches
- 7 includes/changed_fields.core.inc \CFNodeSubject::__construct()
- 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;
}