You are here

public function ObserverInterface::getInfo in Changed Fields API 8.3

Same name and namespace in other branches
  1. 8.2 src/ObserverInterface.php \Drupal\changed_fields\ObserverInterface::getInfo()

Returns info for field comparator plugins.

Info is an associative array of entity types with their bundles and fields for watching.

Return value

array Array of entity types/bundles with field names for watching.

2 methods override ObserverInterface::getInfo()
BasicUsageObserver::getInfo in examples/changed_fields_basic_usage/src/BasicUsageObserver.php
Returns info for field comparator plugins.
ExtendedFieldComparatorObserver::getInfo in examples/changed_fields_extended_field_comparator/src/ExtendedFieldComparatorObserver.php
Returns info for field comparator plugins.

File

src/ObserverInterface.php, line 19

Class

ObserverInterface
Extended observer interface.

Namespace

Drupal\changed_fields

Code

public function getInfo();