public function CFNodeSubject::__construct in Changed Fields API 7.2
Same name and namespace in other branches
- 7.3 src/CFNodeSubject.php \CFNodeSubject::__construct()
- 7 includes/changed_fields.core.inc \CFNodeSubject::__construct()
Node subject constructor.
Parameters
\stdClass $node: Node object.
array $info: Array contains mapping for content types and fields to watch.
CFDefaultFieldComparator $fieldComparator: Field comparator object.
File
- includes/
changed_fields.core.inc, line 149 - File contains core classes and interfaces.
Class
- CFNodeSubject
- Class CFNodeSubject.
Code
public function __construct(\stdClass $node, array $info, CFDefaultFieldComparator $fieldComparator) {
$this->node = $node;
$this->info = $info;
$this->fieldComparator = $fieldComparator;
}