Projet

Général

Profil

Paste
Télécharger (341 octets) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / modules / email / email.diff.inc @ ba09eb79

1
<?php
2

    
3
/**
4
 * @file
5
 * Provide diff field functions for the Email module.
6
 */
7

    
8
/**
9
 * Diff field callback for parsing email fields comparative values.
10
 */
11
function email_field_diff_view($items, $context) {
12
  $diff_items = array();
13
  foreach ($items as $delta => $item) {
14
    $diff_items[$delta] = $item['email'];
15
  }
16
  return $diff_items;
17
}