function field_kaltura_content_is_empty in Kaltura 5
Same name and namespace in other branches
- 6.2 plugins/field_kaltura/field_kaltura.module \field_kaltura_content_is_empty()
- 6 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 201 - 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;
}