You are here

function tzfield_content_is_empty in Time Zone Field 6

Implementation of hook_content_is_empty().

File

./tzfield.module, line 143
Defines a field type for storing timezones.

Code

function tzfield_content_is_empty($item, $field) {
  if (empty($item['timezone'])) {
    return TRUE;
  }
  return FALSE;
}