You are here

function emfield_emfield_content_is_empty in Embedded Media Field 6.3

Same name and namespace in other branches
  1. 6 emfield.module \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

deprecated/emfield-deprecated.inc, line 87
Functionality to be deprecated from earlier versions of Embedded Media Field.

Code

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