function atom_reference_field_is_empty in Scald: Media Management made easy 7
Implements hook_field_is_empty().
File
- modules/
fields/ atom_reference/ atom_reference.module, line 160 - Defines a new field type, allowing to directly reference Scald Atoms from a node.
Code
function atom_reference_field_is_empty($item, $field) {
return empty($item['sid']);
}