interface ObserverInterface in Changed Fields API 8.3
Same name and namespace in other branches
- 8 src/ObserverInterface.php \Drupal\changed_fields\ObserverInterface
- 8.2 src/ObserverInterface.php \Drupal\changed_fields\ObserverInterface
Extended observer interface.
Hierarchy
- interface \Drupal\changed_fields\ObserverInterface extends \Drupal\changed_fields\SplObserver
Expanded class hierarchy of ObserverInterface
All classes that implement ObserverInterface
2 files declare their use of ObserverInterface
- BasicUsageObserver.php in examples/
changed_fields_basic_usage/ src/ BasicUsageObserver.php - ExtendedFieldComparatorObserver.php in examples/
changed_fields_extended_field_comparator/ src/ ExtendedFieldComparatorObserver.php
File
- src/
ObserverInterface.php, line 8
Namespace
Drupal\changed_fieldsView source
interface ObserverInterface extends \SplObserver {
/**
* Returns info for field comparator plugins.
*
* Info is an associative array of entity types with their bundles
* and fields for watching.
*
* @return array
* Array of entity types/bundles with field names for watching.
*/
public function getInfo();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ObserverInterface:: |
public | function | Returns info for field comparator plugins. | 2 |