You are here

function field_test_field_is_empty in SimpleTest 7

Implement hook_field_is_empty().

File

tests/field_test.module, line 451

Code

function field_test_field_is_empty($item, $field) {
  return empty($item['value']);
}