You are here

function mee_content_is_empty in Scald: Media Management made easy 6

Implementation of hook_content_is_empty().

File

mee/mee.module, line 237
Defines a special textarea, with drag and drop media driven by Scald and dnd.module when rich text editing is enabled on the textarea via the WYSIWYG API.

Code

function mee_content_is_empty($item, $field) {
  if (empty($item['value']) && (string) $item['value'] !== '0') {
    return TRUE;
  }
  return FALSE;
}