You are here

function radioactivity_field_is_empty in Radioactivity 7

Same name and namespace in other branches
  1. 7.2 radioactivity.field.inc \radioactivity_field_is_empty()

Implement hoo_field_is_empty().

File

./radioactivity.field.inc, line 243

Code

function radioactivity_field_is_empty($item, $field) {
  return strlen($item[RADIOACTIVITY_FIELD_ENERGY]) == 0;
}