You are here

function fivestar_content_is_empty in Fivestar 6.2

Same name and namespace in other branches
  1. 6 fivestar_field.inc \fivestar_content_is_empty()

Implementation of hook_content_is_empty().

File

includes/fivestar.field.inc, line 163
Provides CCK integration for fivestar module

Code

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