You are here

public function CFNodeSubject::removeObserver in Changed Fields API 7.2

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

Remove observer from list.

Parameters

CFObserverInterface $observer: Observer object to remove.

Overrides CFSubjectInterface::removeObserver

File

includes/changed_fields.core.inc, line 165
File contains core classes and interfaces.

Class

CFNodeSubject
Class CFNodeSubject.

Code

public function removeObserver(CFObserverInterface $observer) {
  unset($this->observers[$observer
    ->getId()]);
}