function registration_field_is_empty in Entity Registration 8.2
Same name and namespace in other branches
- 7.2 includes/registration.field.inc \registration_field_is_empty()
- 7 includes/registration.field.inc \registration_field_is_empty()
Implements hook_field_is_empty().
File
- includes/
registration.field.inc, line 113 - Field hooks.
Code
function registration_field_is_empty($item, $field) {
if (empty($item['registration_type']) && (string) $item['registration_type'] !== '') {
return TRUE;
}
return FALSE;
}