You are here

public function SubjectInterface::addObserver in Changed Fields API 8

Add observer to list.

Parameters

ObserverInterface $observer:

1 method overrides SubjectInterface::addObserver()
NodeSubject::addObserver in src/NodeSubject.php
Add observer to list.

File

src/SubjectInterface.php, line 22
Contains SubjectInterface.php.

Class

SubjectInterface
Interface SubjectInterface.

Namespace

Drupal\changed_fields

Code

public function addObserver(ObserverInterface $observer);