You are here

function emfield_emfield_content_is_empty in Embedded Media Field 6

Same name and namespace in other branches
  1. 6.3 deprecated/emfield-deprecated.inc \emfield_emfield_content_is_empty()
  2. 6.2 emfield.module \emfield_emfield_content_is_empty()

Helper function to implement hook_content_is_empty.

1 call to emfield_emfield_content_is_empty()
emvideo_content_is_empty in contrib/emvideo/emvideo.module
Implementation of hook_content_is_empty().

File

./emfield.module, line 62
Embedded Media Field is a CCK-based framework for 3rd party media files.

Code

function emfield_emfield_content_is_empty($item, $field) {
  return empty($item['value']) && empty($item['embed']);
}