You are here

function fivestar_content_is_empty in Fivestar 6

Same name and namespace in other branches
  1. 6.2 includes/fivestar.field.inc \fivestar_content_is_empty()

Implementation of hook_content_is_empty().

File

./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;
}