function field_test_field_is_empty
Implements hook_field_is_empty().
File
-
modules/
field/ tests/ field_test.field.inc, line 127
Code
function field_test_field_is_empty($item, $field) {
return empty($item['value']);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.