public function NodeSubject::attach in Changed Fields API 8.2
File
- src/
NodeSubject.php, line 53 - Contains NodeSubject.php.
Class
- NodeSubject
- Class NodeSubject.
Namespace
Drupal\changed_fieldsCode
public function attach(SplObserver $observer) {
$this->observers[spl_object_hash($observer)] = $observer;
}