You are here

public function CFNodeSubject::__construct in Changed Fields API 7

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

Parameters

stdClass $node:

array $info:

CFDefaultFieldComparator $fieldComparator:

File

includes/changed_fields.core.inc, line 114
changed_fields.core.inc file.

Class

CFNodeSubject
Class CFNodeSubject.

Code

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