function party_hat_field_is_empty in Party 7
Same name and namespace in other branches
- 8.2 modules/party_hat/party_hat.module \party_hat_field_is_empty()
Implements hook_field_is_empty().
File
- modules/
party_hat/ party_hat.module, line 605 - 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;
}