You are here

function mobile_codes_content_field_is_empty in Mobile Codes 7.2

Same name and namespace in other branches
  1. 6.2 includes/content.inc \mobile_codes_content_field_is_empty()

File

includes/field.inc, line 77
Content module integration.

Code

function mobile_codes_content_field_is_empty($element) {
  $field = content_fields($element['#field_name']);
  if (function_exists($function = "{$field['widget']['module']}_content_is_empty")) {
    return $function($element['#item'], $field);
  }
  return FALSE;
}