function rolereference_field_is_empty in Role Reference 7
Implements hook_field_is_empty().
File
- ./
rolereference.module, line 140
Code
function rolereference_field_is_empty($item, $field) {
if (empty($item['rid']) && (string) $item['rid'] !== '0') {
return TRUE;
}
return FALSE;
}