You are here

function hook_field_diff_view_alter in Diff 7.3

Allow other modules to interact with MODULE_field_diff_view().

Parameters

array $values: An array of field items from the entity ready for comparison.

array $items: An array of field items from the entity.

array $context: An associative array containing:

  • entity: The entity being compared.
  • entity_type: The entity type; e.g., 'node' or 'user'.
  • bundle: The bundle name.
  • field: The field that the items belong to.
  • instance: The instance that the items belong to.
  • language: The language associated with $items.
  • old_entity: The older entity.
  • new_entity: The newer entity.

See also

MODULE_field_diff_view()

File

./diff.api.php, line 241
Hooks provided by the diff module.

Code

function hook_field_diff_view_alter($values, $items, $context) {
}