function icon_field_field_is_empty in Icon API 7
Implements hook_field_is_empty().
File
- modules/
icon_field/ icon_field.module, line 35 - icon_field.module Provides a field for attaching an icon to a fieldable entity.
Code
function icon_field_field_is_empty($item, $field) {
return empty($item['bundle']) && empty($item['icon']);
}