email.diff.inc 341 B

1234567891011121314151617
  1. <?php
  2. /**
  3. * @file
  4. * Provide diff field functions for the Email module.
  5. */
  6. /**
  7. * Diff field callback for parsing email fields comparative values.
  8. */
  9. function email_field_diff_view($items, $context) {
  10. $diff_items = array();
  11. foreach ($items as $delta => $item) {
  12. $diff_items[$delta] = $item['email'];
  13. }
  14. return $diff_items;
  15. }