You are here

function atom_reference_content_is_empty in Scald: Media Management made easy 6

Implements hook_content_is_empty().

File

atom_reference/atom_reference.module, line 108
Defines a new field type, allowing to directly reference Scald Atoms from a node.

Code

function atom_reference_content_is_empty($item, $field) {
  return empty($item['sid']);
}