You are here

function field_test_field_test_op in SimpleTest 7

Generic op to test _field_invoke behavior.

File

tests/field_test.module, line 642

Code

function field_test_field_test_op($obj_type, $object, $field, $instance, $langcode, &$items) {
  return array(
    $langcode => md5(serialize(array(
      $obj_type,
      $object,
      $field['field_name'],
      $langcode,
      $items,
    ))),
  );
}