You are here

function field_timer_field_is_empty in Field Timer 7

Same name and namespace in other branches
  1. 7.2 field_timer.module \field_timer_field_is_empty()

Implements hook_field_is_empty().

File

./field_timer.module, line 228
Main module file.

Code

function field_timer_field_is_empty($item, $field) {
  return empty($item['timestamp']) && empty($item['entity_property_name']);
}