function field_timer_field_is_empty in Field Timer 7.2
Same name and namespace in other branches
- 7 field_timer.module \field_timer_field_is_empty()
Implements hook_field_is_empty().
File
- ./
field_timer.module, line 171 - Main module file.
Code
function field_timer_field_is_empty($item, $field) {
return empty($item['timestamp']) && empty($item['entity_property_name']);
}