You are here

function font_reference_field_is_empty in @font-your-face 7

Same name and namespace in other branches
  1. 7.2 modules/font_reference/font_reference.module \font_reference_field_is_empty()

Implements hook_field_is_empty().

File

modules/font_reference/font_reference.module, line 124
Defines a field type for referencing a font from a node.

Code

function font_reference_field_is_empty($item, $field) {
  return empty($item['fid']);
}