You are here

function properties_field_is_empty in Dynamic properties 7

Implements hook_field_is_empty().

File

./properties.module, line 309
This module provides a dynamic property field that can contain an unlimited number of attribute value pairs.

Code

function properties_field_is_empty($item, $field) {
  return !is_array($item);
}