You are here

ObserverInterface.php in Changed Fields API 8.3

Same filename and directory in other branches
  1. 8 src/ObserverInterface.php
  2. 8.2 src/ObserverInterface.php

File

src/ObserverInterface.php
View source
<?php

namespace Drupal\changed_fields;


/**
 * Extended observer interface.
 */
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();

}

Interfaces

Namesort descending Description
ObserverInterface Extended observer interface.