function vud_field_field_is_empty in Vote Up/Down 7
Same name and namespace in other branches
- 7.2 vud_field/vud_field.module \vud_field_field_is_empty()
Implement hook_field_is_empty().
File
- vud_field/
vud_field.module, line 57 - Defines field type which contains a voting widget.
Code
function vud_field_field_is_empty($item, $field) {
return empty($item['vud_widget']) || empty($item['votingapi_tag']);
}