function weight_field_is_empty in Weight 7.3
Implements hook_field_is_empty().
File
- ./
weight.module, line 113 - Provides a weight field that allows entities to be ordered.
Code
function weight_field_is_empty($item, $field) {
if (empty($item)) {
return TRUE;
}
else {
return FALSE;
}
}