function feeds_test_field_field_formatter_view in Feeds 7.2
Implements hook_field_formatter_view().
File
- tests/
modules/ feeds_test_field/ feeds_test_field.module, line 79 - Provides a field with special validation.
Code
function feeds_test_field_field_formatter_view($object_type, $object, $field, $instance, $langcode, $items, $display) {
$element = array();
foreach ($items as $delta => $item) {
$element[$delta] = array(
'#markup' => check_plain($item['value']),
);
}
return $element;
}