Commit c8623447 authored by aland's avatar aland Committed by Matthias Hutterer
Browse files

Issue #1685698 by Alan D.: Added email field support for diff.

parent b4b5ec99
<?php
/**
* @file
* Provide diff field functions for the Email module.
*/
/**
* Diff field callback for parsing email fields comparative values.
*/
function email_field_diff_view($items, $context) {
$diff_items = array();
foreach ($items as $delta => $item) {
$diff_items[$delta] = $item['email'];
}
return $diff_items;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment