You are here

function media_field_is_empty in D7 Media 7

Implements hook_field_is_empty().

File

includes/media.fields.inc, line 30
: Provides a "Multimedia asset" field to the fields API

Code

function media_field_is_empty($item, $field) {
  return empty($item['fid']);
}