You are here

function blockreference_content_is_empty in Block reference 6

Implementation of hook_content_is_empty().

File

./blockreference.module, line 212
Defines a field type for referencing a block from a node.

Code

function blockreference_content_is_empty($item, $field) {
  if (empty($item['bid'])) {
    return TRUE;
  }
  return FALSE;
}