interface ObserverInterface in Changed Fields API 8
Same name and namespace in other branches
- 8.3 src/ObserverInterface.php \Drupal\changed_fields\ObserverInterface
- 8.2 src/ObserverInterface.php \Drupal\changed_fields\ObserverInterface
Interface ObserverInterface.
Hierarchy
- interface \Drupal\changed_fields\ObserverInterface
Expanded class hierarchy of ObserverInterface
All classes that implement ObserverInterface
File
- src/
ObserverInterface.php, line 13 - Contains SubjectInterface.php.
Namespace
Drupal\changed_fieldsView source
interface ObserverInterface {
/**
* Update method with info about event.
*
* It is called by NodeSubject when node fields have been changed.
*
* @param SubjectInterface $nodeSubject
*/
public function update(SubjectInterface $nodeSubject);
/**
* Method to get observer id.
*/
public function getId();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ObserverInterface:: |
public | function | Method to get observer id. | 1 |
ObserverInterface:: |
public | function | Update method with info about event. | 1 |