You are here

abstract public function Observer::update in Changed Fields API 8

Update method with info about event.

It is called by NodeSubject when node fields have been changed.

Parameters

SubjectInterface $nodeSubject:

Overrides ObserverInterface::update

2 methods override Observer::update()
BasicUsageObserver::update in examples/changed_fields_basic_usage/src/BasicUsageObserver.php
Update method with info about event.
ExtendedFieldComparatorObserver::update in examples/changed_fields_extended_field_comparator/src/ExtendedFieldComparatorObserver.php
Update method with info about event.

File

src/Observer.php, line 30
Contains Observer.php.

Class

Observer
Class Observer.

Namespace

Drupal\changed_fields

Code

public abstract function update(SubjectInterface $nodeSubject);