Projet

Général

Profil

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

root / drupal7 / sites / all / modules / diff / includes / number.inc @ d756b39a

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