You are here

function party_hat_field_is_empty in Party 8.2

Same name and namespace in other branches
  1. 7 modules/party_hat/party_hat.module \party_hat_field_is_empty()

Implements hook_field_is_empty().

File

modules/party_hat/party_hat.module, line 575
party_hat.module Provides an extensible access system for parties.

Code

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