You are here

function hook_field_diff_view_prepare_alter in Diff 7.3

Allow other modules to interact with MODULE_field_diff_view_prepare().

Parameters

array $old_items: An array of field items from the older revision.

array $new_items: An array of field items from the newer revision.

array $context: An associative array containing:

  • 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_prepare()

File

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

Code

function hook_field_diff_view_prepare_alter($old_items, $new_items, $context) {
}