You are here

function field_kaltura_content_is_empty in Kaltura 6

Same name and namespace in other branches
  1. 5 plugins/field_kaltura/field_kaltura.module \field_kaltura_content_is_empty()
  2. 6.2 plugins/field_kaltura/field_kaltura.module \field_kaltura_content_is_empty()

Implementation of hook_content_is_empty().

File

plugins/field_kaltura/field_kaltura.module, line 234
kaltura integration module - functions to provide kaltura as CCK field

Code

function field_kaltura_content_is_empty($item, $field) {
  if (empty($item['value']) && (string) $item['value'] !== '0') {
    return TRUE;
  }
  return FALSE;
}